T-2: M0.2 — Finish shared Postgres migrations: bun run db:migrate + fresh-database schema test
This commit is contained in:
parent
890761e0d5
commit
654782a6a1
6 changed files with 508 additions and 5 deletions
|
|
@ -19,7 +19,7 @@ END $$;
|
|||
-- Provider Exchange Mappings Table
|
||||
-- Maps provider-specific exchange codes to our master exchanges
|
||||
CREATE TABLE IF NOT EXISTS provider_exchange_mappings (
|
||||
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
|
||||
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
||||
provider VARCHAR(50) NOT NULL, -- 'qm', 'eod', 'ib', etc.
|
||||
provider_exchange_code VARCHAR(50) NOT NULL, -- Provider's exchange code: 'NYE', 'US', 'NASDAQ'
|
||||
provider_exchange_name VARCHAR(255), -- Provider's exchange name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue