fix(db): isolate redemption migration from identity schema
This commit is contained in:
@@ -33,8 +33,11 @@ test("redeem security: case-sensitive hashing, rate limiting, idempotency and or
|
||||
},
|
||||
});
|
||||
assert.equal(migration.status, 0, migration.stderr);
|
||||
assert.match(migration.stdout, /applied 20260807020000_redeem_security\.sql/);
|
||||
// Only the supabase compatibility migration exists; the db/migrations
|
||||
// copy was removed because identity-only fixtures apply that directory
|
||||
// without the business schema (see BUG-144).
|
||||
assert.match(migration.stdout, /applied 20260807030000_redeem_security\.sql/);
|
||||
assert.doesNotMatch(migration.stdout, /20260807020000_redeem_security/);
|
||||
|
||||
fixture.psqlAs("identity_runtime", "identity-runtime-test-password", `
|
||||
insert into identity.users (name, email, email_verified, email_verified_at)
|
||||
|
||||
Reference in New Issue
Block a user