切断认证快照同步路径

删除 auth_store_snapshot 表和旧 JSON 快照 procedure。

改用 AuthStoreProjectionView 同步 user_account、auth_identity 和 refresh_session。

让 auth 服务从 user_account 投影恢复内存工作集。

同步生成绑定、schema guard 和后端架构文档。
This commit is contained in:
2026-07-01 19:07:21 +08:00
parent 69b4d5f090
commit 47083bfe05
38 changed files with 1123 additions and 1469 deletions
+3 -1
View File
@@ -621,10 +621,12 @@ function main() {
const compareResult = compareTables(baseResult.tables, currentResult.tables);
const changedFiles = getChangedFiles(baseRef);
const sidecarFailures = checkSchemaSidecars(changedFiles, compareResult.schemaChanged);
const compareFailures =
compareResult.breakingChanged && allowBreaking ? [] : compareResult.failures;
const failures = [
...currentResult.failures,
...baseResult.failures,
...compareResult.failures,
...compareFailures,
...sidecarFailures,
];