1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-22 15:55:14 +00:00

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