feat: support sending "new title" alerts to devices

This commit is contained in:
2024-09-02 13:02:05 -04:00
parent ae99918524
commit 4fe22bccf3
16 changed files with 381 additions and 5 deletions

View File

@@ -29,4 +29,9 @@ export const watchStatusTable = sqliteTable(
}),
);
export const tables = [watchStatusTable, deviceTokensTable];
export const keyValueTable = sqliteTable("key_value", {
key: text("key", { enum: ["schedule_last_checked_at"] }).primaryKey(),
value: text("value").notNull(),
});
export const tables = [watchStatusTable, deviceTokensTable, keyValueTable];