fix(migration): add dev schema support in migration runner

**修復**:
- postgres_db.rs:1695 添加 dev. schema 替換
- 支援 public. 和 dev. schema prefix 替換

**影響**:
- 修復 3 個 migration 失敗(010, 021, 024)
- 正確處理雙 schema 環境

**Ref**: M4 差異分析報告
This commit is contained in:
Accusys
2026-10-04 23:52:29 +08:00
parent 32e27971a7
commit 495e5e324a
+2
View File
@@ -1714,7 +1714,9 @@ impl PostgresDb {
let sql_with_schema = if schema != "public" {
sql_content
.replace("public.", &format!("{}.", schema))
.replace("dev.", &format!("{}.", schema))
.replace("public::", &format!("{}::", schema))
.replace("dev::", &format!("{}::", schema))
} else {
sql_content.clone()
};