id(); $table->string('uuid')->unique(); $table->string('name'); $table->string('description')->nullable(); $table->string('postgres_user')->default('postgres'); $table->string('postgres_password'); $table->string('postgres_db')->default('postgres'); $table->string('postgres_initdb_args')->nullable(); $table->string('postgres_host_auth_method')->nullable(); $table->json('init_scripts')->nullable(); $table->timestamp('started_at')->nullable(); $table->morphs('destination'); $table->foreignId('environment_id'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('postgresqls'); } };