mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-22 16:14:22 +02:00
bd9a1dbaf3
Able to add init scripts fro postgresql
22 lines
550 B
PHP
22 lines
550 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
return new class extends Migration {
|
|
public function up(): void
|
|
{
|
|
Schema::table('standalone_postgresqls', function (Blueprint $table) {
|
|
$table->text('ports_mappings')->nullable();
|
|
});
|
|
}
|
|
|
|
public function down(): void
|
|
{
|
|
Schema::table('standalone_postgresqls', function (Blueprint $table) {
|
|
$table->dropColumn('ports_mappings');
|
|
});
|
|
}
|
|
};
|