storages
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user