We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73644b7 commit 0d23246Copy full SHA for 0d23246
1 file changed
subdomains/database/migrations/002_create_subdomains_table.php
@@ -17,8 +17,8 @@ public function up(): void
17
$table->unsignedInteger('domain_id');
18
$table->foreign('domain_id')->references('id')->on('cloudflare_domains')->cascadeOnDelete();
19
20
- $table->unsignedInteger('allocation_id');
21
- $table->foreign('allocation_id')->references('id')->on('allocations')->cascadeOnDelete();
+ $table->unsignedInteger('server_id');
+ $table->foreign('server_id')->references('id')->on('servers')->cascadeOnDelete();
22
23
$table->timestamps();
24
0 commit comments