If not exists on trial table

This commit is contained in:
Owen
2026-05-06 20:00:23 -07:00
parent 7dce4500ec
commit 7bc08c0425
2 changed files with 2 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ export default async function migration() {
db.transaction(() => {
db.prepare(
`
CREATE TABLE 'trialNotifications' (
CREATE TABLE IF NOT EXISTS 'trialNotifications' (
'notificationId' integer PRIMARY KEY AUTOINCREMENT NOT NULL,
'subscriptionId' text NOT NULL,
'notificationType' text NOT NULL,