Extract shared backup management contract

This commit is contained in:
Mikhail Chusavitin
2026-03-07 21:49:07 +03:00
parent 548eb70d55
commit 61ed2717d0
2 changed files with 73 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
# Contract: Database Patterns (Go / MySQL / MariaDB)
Version: 1.1
Version: 1.4
## MySQL Transaction Cursor Safety (CRITICAL)
@@ -115,6 +115,8 @@ This applies to:
- Imports, bulk updates, and bulk deletes
- Admin tools or one-off operator commands
Backup naming, storage, archive format, retention, and restore-readiness must follow the `backup-management` contract.
Rules:
- No schema change or data mutation is allowed on a non-ephemeral database without a current backup.
- "Small" or "safe" changes are not exceptions.