Update migration, fixes #3497

pull/3501/head
Daniel Supernault 3 years ago
parent 7937686af1
commit 9174d83b64
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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

Loading…
Cancel
Save