Fix stories migration

This commit is contained in:
Daniel Supernault 2018-12-23 19:08:53 -07:00
parent a6b7898d98
commit 1236f902cf
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -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();