mirror of
https://github.com/pelican-dev/panel.git
synced 2025-07-28 16:32:36 +02:00
Wip
This commit is contained in:
parent
b1d7d210fc
commit
beadce96f6
@ -20,6 +20,10 @@ return new class extends Migration
|
|||||||
Schema::table('servers', function (Blueprint $table) {
|
Schema::table('servers', function (Blueprint $table) {
|
||||||
$table->dropColumn(['allocation_id', 'allocation_limit']);
|
$table->dropColumn(['allocation_id', 'allocation_limit']);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Schema::table('nodes', function (Blueprint $table) {
|
||||||
|
$table->boolean('strict_ports')->default(true);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -27,6 +31,10 @@ return new class extends Migration
|
|||||||
*/
|
*/
|
||||||
public function down(): void
|
public function down(): void
|
||||||
{
|
{
|
||||||
|
Schema::table('nodes', function (Blueprint $table) {
|
||||||
|
$table->dropColumn('strict_ports');
|
||||||
|
});
|
||||||
|
|
||||||
Schema::create('allocations', function (Blueprint $table) {
|
Schema::create('allocations', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
$table->unsignedInteger('node_id');
|
$table->unsignedInteger('node_id');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user