Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -3,9 +3,10 @@ import { resolve } from "node:path";
import { describe, expect, it } from "vitest";
import { readBaselineLegacyMigration } from "./baseline-legacy-migration.test-helper";
const repoRoot = resolve(__dirname, "../../..");
const schemaPath = resolve(repoRoot, "prisma/schema/core.prisma");
const migrationPath = resolve(repoRoot, "prisma/migrations/20260507123000_api_key_hash_columns/migration.sql");
async function readApiKeyModel() {
const schema = await readFile(schemaPath, "utf8");
@@ -33,7 +34,7 @@ describe("ApiKey hash schema contract", () => {
});
it("adds forward-only hash columns and lookup index without raw key fixtures", async () => {
const migrationSql = await readFile(migrationPath, "utf8");
const migrationSql = readBaselineLegacyMigration("20260507123000_api_key_hash_columns");
expect(migrationSql, "migration adds nullable keyHash storage").toMatch(
/ADD\s+COLUMN\s+(?:IF\s+NOT\s+EXISTS\s+)?["`]keyHash["`]\s+TEXT/i,