fix database migration

This commit is contained in:
ayntk-ai 2024-08-06 12:00:34 +02:00
parent 0459baa55e
commit 7eacdf23f9
No known key found for this signature in database

View File

@ -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');
});
}
};