feat: add migration advisory lock to database-postgres (E00-S03-T04)
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
*
|
||||
* This module is the driver boundary: it imports the PostgreSQL driver (`pg`)
|
||||
* and Kysely and re-exports the pieces the adapter is built on — the driver
|
||||
* surface (E00-S03-T02) and the migration ledger (E00-S03-T03). The advisory
|
||||
* lock (E00-S03-T04) and failure diagnostic (E00-S03-T05) land in later
|
||||
* stories; until then the re-exports keep the driver reachable only from here
|
||||
* — the isolation is real, not a placeholder.
|
||||
* surface (E00-S03-T02), the migration ledger (E00-S03-T03) and the migration
|
||||
* advisory lock (E00-S03-T04). The failure diagnostic (E00-S03-T05) lands in
|
||||
* a later story; until then the re-exports keep the driver reachable only
|
||||
* from here — the isolation is real, not a placeholder.
|
||||
*/
|
||||
|
||||
import { Pool } from 'pg';
|
||||
@@ -20,3 +20,4 @@ import { Kysely, PostgresDialect } from 'kysely';
|
||||
|
||||
export { Pool, Kysely, PostgresDialect };
|
||||
export { MigrationLedger, MIGRATION_LEDGER_TABLE } from './ledger.js';
|
||||
export { MigrationLock, MIGRATION_LOCK_KEY } from './lock.js';
|
||||
|
||||
Reference in New Issue
Block a user