mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Implement new primary key syntax (#5147)
This commit is contained in:
parent
b659069bce
commit
2e2be97c26
@ -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();
|
||||
|
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user