Able to backup Coolify itself
This commit is contained in:
@@ -42,7 +42,7 @@ return new class extends Migration {
|
||||
$table->timestamp('started_at')->nullable();
|
||||
$table->morphs('destination');
|
||||
|
||||
$table->foreignId('environment_id');
|
||||
$table->foreignId('environment_id')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -9,12 +9,14 @@ return new class extends Migration {
|
||||
{
|
||||
Schema::create('scheduled_database_backups', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->text('description')->nullable();
|
||||
$table->string('uuid')->unique();
|
||||
$table->boolean('enabled')->default(true);
|
||||
$table->string('save_s3')->default(true);
|
||||
$table->boolean('save_s3')->default(true);
|
||||
$table->string('frequency');
|
||||
$table->integer('number_of_backups_locally')->default(7);
|
||||
$table->morphs('database');
|
||||
$table->foreignId('s3_storage_id')->nullable();
|
||||
$table->foreignId('team_id');
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user