1
0
Fork 0
forked from mirror/pixelfed

Update migration, fixes #3497

This commit is contained in:
Daniel Supernault 2022-05-20 20:36:35 -06:00
parent 7937686af1
commit 9174d83b64
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -16,6 +16,8 @@ class CreateConversationsTable extends Migration
*/
public function up()
{
Schema::dropIfExists('conversations');
Schema::create('conversations', function (Blueprint $table) {
$table->bigIncrements('id');
$table->bigInteger('to_id')->unsigned()->index();