Expand financials surfaces with ratios, KPIs, and cadence support
- Add bundled financial modeling pipeline (ratios, KPI dimensions/notes, trend series, standardization) - Introduce company financial bundles storage (Drizzle migration + repo wiring) - Refactor financials page/API/query flow to use surfaceKind + cadence and new response shapes
This commit is contained in:
@@ -71,7 +71,16 @@ function bootstrapFreshDatabase(databaseUrl: string) {
|
||||
try {
|
||||
database.exec('PRAGMA foreign_keys = ON;');
|
||||
|
||||
if (hasTable(database, 'user')) {
|
||||
const existingCoreTables = [
|
||||
'user',
|
||||
'filing',
|
||||
'watchlist_item',
|
||||
'filing_statement_snapshot',
|
||||
'filing_taxonomy_snapshot',
|
||||
'task_run'
|
||||
];
|
||||
|
||||
if (existingCoreTables.some((tableName) => hasTable(database, tableName))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user