fix: also save year

This commit is contained in:
NunoSempere 2022-03-05 19:03:22 -05:00
parent 896e48efaa
commit 2138c0c642

View File

@ -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: