Przeglądaj źródła

Fix stories migration

Daniel Supernault 6 lat temu
rodzic
commit
1236f902cf

+ 1 - 1
database/migrations/2018_09_19_060554_create_stories_table.php

@@ -14,7 +14,7 @@ class CreateStoriesTable extends Migration
     public function up()
     public function up()
     {
     {
         Schema::create('stories', function (Blueprint $table) {
         Schema::create('stories', function (Blueprint $table) {
-            $table->increments('bigIncrements');
+            $table->bigIncrements('id');
             $table->bigInteger('profile_id')->unsigned();
             $table->bigInteger('profile_id')->unsigned();
             $table->timestamp('published_at')->nullable();
             $table->timestamp('published_at')->nullable();
             $table->timestamp('expires_at')->nullable();
             $table->timestamp('expires_at')->nullable();