fix: also save year
This commit is contained in:
parent
896e48efaa
commit
2138c0c642
|
@ -37,7 +37,7 @@ export async function databaseUpsert({ contents, group }) {
|
||||||
"metaforecastHistory",
|
"metaforecastHistory",
|
||||||
"metaforecastDatabase"
|
"metaforecastDatabase"
|
||||||
);
|
);
|
||||||
// await pgUpsert({ contents, schema: "history", tableName: `h${dateUpToYear}` });
|
await pgUpsert({ contents, schema: "history", tableName: `h${dateUpToYear}` });
|
||||||
await pgUpsert({ contents, schema: "history", tableName: `h${dateUpToMonth}` });
|
await pgUpsert({ contents, schema: "history", tableName: `h${dateUpToMonth}` });
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user