T-151: M2.1i — findings + provider_caveats append-only PostgreSQL migration (research track, 37-research-findings.sql) with fresh-database schema tests (no adapters, no new deps)

This commit is contained in:
Studio 2026-12-02 00:12:13 -05:00
parent 34fdfd6bc4
commit c16d6b3f60
7 changed files with 672 additions and 11 deletions

View file

@ -274,12 +274,13 @@ describe('34-security-master.sql track registration', () => {
expect(await runPostgresMigrations(postgres as never)).toEqual(research);
});
test('all track runs 33, 34, 35, 36 last in exact order and skips 06-08', async () => {
test('all track runs 33, 34, 35, 36, 37 last in exact order and skips 06-08', async () => {
const all = await filesForTrack('all');
expect(all.at(-4)).toBe('33-candidate-decimal-normalization.sql');
expect(all.at(-3)).toBe('34-security-master.sql');
expect(all.at(-2)).toBe('35-security-master-exchange-seed.sql');
expect(all.at(-1)).toBe('36-trial-ledger.sql');
expect(all.at(-5)).toBe('33-candidate-decimal-normalization.sql');
expect(all.at(-4)).toBe('34-security-master.sql');
expect(all.at(-3)).toBe('35-security-master-exchange-seed.sql');
expect(all.at(-2)).toBe('36-trial-ledger.sql');
expect(all.at(-1)).toBe('37-research-findings.sql');
for (const bootstrap of [
'06-create-backtest-tables.sql',
'07-fix-execution-time-type.sql',