add entries column to doublers table migration

This commit is contained in:
Matt Young 2025-06-23 00:42:53 -05:00
parent 1f635e6ecf
commit a27b8166e2
1 changed files with 1 additions and 0 deletions

View File

@ -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