Enforce data consistency

This commit is contained in:
2020-04-29 21:56:41 +01:00
parent f514c4f848
commit beee71e4c3
4 changed files with 5 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ class CreateResponsesTable extends Migration
{
Schema::create('responses', function (Blueprint $table) {
$table->id();
$table->bigIncrements('responseFormID');
$table->bigInteger('responseFormID')->unsigned();
$table->longText('responseData');
$table->timestamps();
});