fix: ingest: await create index
This commit is contained in:
+1
-1
@@ -160,5 +160,5 @@ export async function ingestOptions(sourceDataDir:string):Promise<void>{
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
console.log("creating index");
|
console.log("creating index");
|
||||||
sql`CREATE INDEX ON "option_quote" USING btree ("underlying","expiration","type","strike","quote_date");`;
|
await sql`CREATE INDEX ON "option_quote" USING btree ("underlying","expiration","type","strike","quote_date");`;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user