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

View file

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