10 lines
270 B
TypeScript
10 lines
270 B
TypeScript
import { pgReadWithReadCredentials, pgUpsert } from "../../database/pg-wrapper";
|
|
|
|
export async function updateHistory() {
|
|
let latest = await pgReadWithReadCredentials({ tableName: "combined" });
|
|
await pgUpsert({
|
|
contents: latest,
|
|
tableName: "h2022",
|
|
});
|
|
}
|