Skip to content

Commit e779529

Browse files
committed
Resolve laravel-portugal#31 - An authenticated user can post an answer to a question (Request Changed)
1 parent 8b04168 commit e779529

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

domains/Discussions/Database/Migrations/2020_10_19_175943_create_question_answers_table.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ public function up(): void
1818
$table->timestampsTz();
1919
$table->softDeletesTz();
2020

21-
$table->index(['question_id', 'author_id', 'created_at']);
21+
$table->index('question_id');
22+
$table->index('author_id');
23+
$table->index('created_at');
2224
});
2325
}
2426
}

0 commit comments

Comments
 (0)