fix: also save year
This commit is contained in:
parent
896e48efaa
commit
2138c0c642
|
@ -37,7 +37,7 @@ export async function databaseUpsert({ contents, group }) {
|
|||
"metaforecastHistory",
|
||||
"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}` });
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue
Block a user