puh, fixes
This commit is contained in:
@@ -12,8 +12,9 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('service_applications', function (Blueprint $table) {
|
||||
$table->boolean('ignore_from_status')->default(false);
|
||||
$table->string('image_tag')->nullable();
|
||||
$table->boolean('exclude_from_status')->default(false);
|
||||
$table->boolean('required_fqdn')->default(false);
|
||||
$table->string('image')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -23,8 +24,9 @@ return new class extends Migration
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('service_applications', function (Blueprint $table) {
|
||||
$table->dropColumn('ignore_from_status');
|
||||
$table->dropColumn('image_tag');
|
||||
$table->dropColumn('exclude_from_status');
|
||||
$table->dropColumn('required_fqdn');
|
||||
$table->dropColumn('image');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
@@ -12,8 +12,8 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('service_databases', function (Blueprint $table) {
|
||||
$table->boolean('ignore_from_status')->default(false);
|
||||
$table->string('image_tag')->nullable();
|
||||
$table->boolean('exclude_from_status')->default(false);
|
||||
$table->string('image')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -23,8 +23,8 @@ return new class extends Migration
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('service_databases', function (Blueprint $table) {
|
||||
$table->dropColumn('ignore_from_status');
|
||||
$table->dropColumn('image_tag');
|
||||
$table->dropColumn('exclude_from_status');
|
||||
$table->dropColumn('image');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('local_file_volumes', function (Blueprint $table) {
|
||||
$table->boolean('is_directory')->default(false);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('local_file_volumes', function (Blueprint $table) {
|
||||
$table->dropColumn('is_directory');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user