T-40: M1.1c — Pass 1 exchanges: ISO MIC seed, source-code role classifier and reviewable seed-SQL generator

This commit is contained in:
Studio 2026-11-27 15:14:37 -05:00
parent c36f89352c
commit d0d2ebdfc8
2 changed files with 10 additions and 6 deletions

View file

@ -214,7 +214,8 @@ async function expectPgErrorCode(operation: Promise<unknown>, expectedCode: stri
async function seedListing(pool: Pool) {
await pool.query(
`INSERT INTO exchange (mic, operating_mic, name, country_iso, currency, timezone, calendar_code)
VALUES ('XNYS', 'XNYS', 'New York Stock Exchange', 'US', 'USD', 'America/New_York', 'XNYS')`
VALUES ('XNYS', 'XNYS', 'New York Stock Exchange', 'US', 'USD', 'America/New_York', 'XNYS')
ON CONFLICT (mic) DO NOTHING`
);
const instrumentId = (
await pool.query(