mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-05 20:52:11 +00:00
fix: database schema
This commit is contained in:
@@ -12,6 +12,7 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('services', function (Blueprint $table) {
|
||||
$table->foreignId('server_id')->nullable();
|
||||
$table->longText('description')->nullable();
|
||||
$table->longText('docker_compose_raw');
|
||||
$table->longText('docker_compose')->nullable();
|
||||
@@ -25,6 +26,7 @@ return new class extends Migration
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('services', function (Blueprint $table) {
|
||||
$table->dropColumn('server_id');
|
||||
$table->dropColumn('description');
|
||||
$table->dropColumn('docker_compose_raw');
|
||||
$table->dropColumn('docker_compose');
|
||||
|
||||
Reference in New Issue
Block a user