mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 20:14:45 +00:00
storages
This commit is contained in:
1 parent
dcc1c72882
commit
96b9f8213c
16 files changed
+175
-33
No files matched your search
@@ -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