소스 검색

Fix stories migration

Daniel Supernault 6 년 전
부모
커밋
1236f902cf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      database/migrations/2018_09_19_060554_create_stories_table.php

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

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