make proposal table_id nullable

This commit is contained in:
2018-08-11 18:47:07 +02:00
parent f2910f977f
commit 20f4694ec4
@@ -19,7 +19,7 @@ class CreateProposalsTable extends Migration
// note that a revision may be shared by multiple tables, thus a proposal may also apply to different tables
$table->unsignedInteger('table_id')->index(); // table this proposal was written for
$table->unsignedInteger('table_id')->index()->nullable(); // table this proposal was written for
$table->unsignedInteger('revision_id')->index(); // parent revision (applying it to a different revisions may cause conflicts)
$table->unsignedInteger('author_id')->index();