1
0
Fork 0

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
1 changed files with 2 additions and 0 deletions

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