mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
feat: 数据库迁移前自动备份 (#6360)
This commit is contained in:
@@ -33,6 +33,8 @@ def test_database_backup_policy_rejects_invalid_values(
|
||||
[
|
||||
{"DB_BACKUP_CRON": ""},
|
||||
{"DB_BACKUP_CRON": "0 3 * * *"},
|
||||
{"DB_BACKUP_ON_UPGRADE": True},
|
||||
{"DB_BACKUP_ON_UPGRADE": False},
|
||||
{"DB_BACKUP_PATH": None},
|
||||
{"DB_BACKUP_PATH": ""},
|
||||
{"DB_BACKUP_PATH": "database_backup"},
|
||||
|
||||
Reference in New Issue
Block a user