fix database migration
This commit is contained in:
@@ -14,6 +14,7 @@ return new class extends Migration
|
||||
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 @@ return new class extends Migration
|
||||
Schema::table('instance_settings', function (Blueprint $table) {
|
||||
$table->dropColumn('update_check_frequency');
|
||||
$table->dropColumn('auto_update_frequency');
|
||||
$table->dropColumn('new_version_available');
|
||||
});
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user