add entries column to doublers table migration
This commit is contained in:
parent
1f635e6ecf
commit
a27b8166e2
|
|
@ -21,6 +21,7 @@ return new class extends Migration
|
||||||
|
|
||||||
// Doubler Specific Fields
|
// Doubler Specific Fields
|
||||||
$table->integer('entry_count');
|
$table->integer('entry_count');
|
||||||
|
$table->json('entries')->nullable();
|
||||||
$table->foreignIdFor(Entry::class, 'accepted_entry')->nullable()->constrained('entries')->cascadeOnDelete()->cascadeOnUpdate();
|
$table->foreignIdFor(Entry::class, 'accepted_entry')->nullable()->constrained('entries')->cascadeOnDelete()->cascadeOnUpdate();
|
||||||
|
|
||||||
// Set the composite primary key
|
// Set the composite primary key
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue