Move archive validation (migration file existence and slice bounds check) before the database wipe. Previously a malformed archive would first destroy the database and then panic, leaving the instance in an irrecoverable state with total data loss. Now the migration data is fully parsed and validated before any destructive operations occur. |
||
|---|---|---|
| .. | ||
| auth | ||
| avatar | ||
| background | ||
| dump | ||
| keyvalue | ||
| migration | ||