fix database migration
This commit is contained in:
parent
0459baa55e
commit
7eacdf23f9
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue