Document prod schema migrate before restore and i18n search index fix.

Release runbook now describes default migrateProdSchema, auto-migrate safety guard, and troubleshooting for updated_at restore failures; i18n docs cover partial entity_translations index.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Danila Khodjaef
2026-07-15 12:21:53 +03:00
co-authored by Cursor
parent a2c27ea526
commit 62d7ebbe6a
5 changed files with 18 additions and 13 deletions
@@ -21,7 +21,6 @@
"message": "Release: weekly deploy",
"stageAll": true
},
"schemaChanged": false,
"backupFile": "",
"smb": {
"host": "192.168.10.122",
+2 -3
View File
@@ -127,7 +127,7 @@ function Invoke-Step {
}
function Get-ProfileSteps {
param([string]$Profile, [bool]$SchemaChanged)
param([string]$Profile)
$base = @{
validateBuild = $false
@@ -367,8 +367,7 @@ $raw = Get-Content -LiteralPath $Config -Raw -Encoding UTF8
$cfg = $raw | ConvertFrom-Json
$profile = if ($cfg.profile) { $cfg.profile } else { 'full' }
$schemaChanged = [bool]$cfg.schemaChanged
$steps = Merge-Steps (Get-ProfileSteps -Profile $profile -SchemaChanged $schemaChanged) $cfg.steps
$steps = Merge-Steps (Get-ProfileSteps -Profile $profile) $cfg.steps
if ($cfg.autoConfirm) {
$env:CONFIRM_PROD = '1'