This commit is contained in:
Andras Bacsai
2023-05-05 12:08:38 +02:00
parent dcc1c72882
commit 96b9f8213c
16 changed files with 175 additions and 33 deletions

View File

@@ -14,12 +14,14 @@ return new class extends Migration
Schema::create('local_persistent_volumes', function (Blueprint $table) {
$table->id();
$table->string('uuid')->unique();
$table->string('name');
$table->string('name')->unique();
$table->string('mount_path');
$table->string('host_path')->nullable();
$table->string('container_id')->nullable();
$table->nullableMorphs('resource');
$table->unique(['name', 'resource_id', 'resource_type']);
$table->timestamps();
});
}