update schema and queries to implement reset_at

This commit is contained in:
Francis Cao committed 2023-03-27 11:25:16 -07:00
1 parent 43ef6884df
commit 14e4a090bb
15 files changed
+74 -59

No files matched your search

@@ -50,7 +50,6 @@ async function clickhouseQuery(data: {
city,
} = data;
const { getDateFormat, sendMessage } = kafka;
const website = await cache.fetchWebsite(websiteId);
const msg = {
session_id: id,
@@ -65,7 +64,6 @@ async function clickhouseQuery(data: {
subdivision1,
subdivision2,
city,
rev_id: website?.revId || 0,
created_at: getDateFormat(new Date()),
};