Skip to content

Commit

Permalink
Implement new primary key syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Nov 1, 2019
1 parent 9df12c3 commit be791d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CreateUsersTable extends Migration
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->bigIncrements('id');
$table->id();
$table->string('name');
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CreateFailedJobsTable extends Migration
public function up()
{
Schema::create('failed_jobs', function (Blueprint $table) {
$table->bigIncrements('id');
$table->id();
$table->text('connection');
$table->text('queue');
$table->longText('payload');
Expand Down

0 comments on commit be791d3

Please sign in to comment.