pull/2895/head
Daniel Supernault 2021-08-27 20:33:30 -06:00
rodzic bc53ac2af8
commit fb652805dd
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -15,7 +15,8 @@ class CreatePollVotesTable extends Migration
{
Schema::create('poll_votes', function (Blueprint $table) {
$table->id();
$table->bigInteger('status_id')->unsigned()->index();
$table->bigInteger('story_id')->unsigned()->nullable()->index();
$table->bigInteger('status_id')->unsigned()->nullable()->index();
$table->bigInteger('profile_id')->unsigned()->index();
$table->bigInteger('poll_id')->unsigned()->index();
$table->unsignedInteger('choice')->default(0)->index();