mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-22 08:04:19 +02:00
fix database migration
This commit is contained in:
parent
0459baa55e
commit
7eacdf23f9
@ -14,6 +14,7 @@ public function up(): void
|
||||
Schema::table('instance_settings', function (Blueprint $table) {
|
||||
$table->string('auto_update_frequency')->default('0 0 * * *')->nullable();
|
||||
$table->string('update_check_frequency')->default('0 */11 * * *')->nullable();
|
||||
$table->boolean('new_version_available')->default(false);
|
||||
});
|
||||
}
|
||||
|
||||
@ -25,6 +26,7 @@ public function down(): void
|
||||
Schema::table('instance_settings', function (Blueprint $table) {
|
||||
$table->dropColumn('update_check_frequency');
|
||||
$table->dropColumn('auto_update_frequency');
|
||||
$table->dropColumn('new_version_available');
|
||||
});
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user