perf: remove unnecessary decoration boolean on the ntfy database schema

This commit is contained in:
Paul Sommer
2025-09-05 11:35:28 +02:00
parent b9a8b27441
commit 6833713697
4 changed files with 6496 additions and 1 deletions

View File

@@ -0,0 +1 @@
ALTER TABLE "ntfy" DROP COLUMN "decoration";

File diff suppressed because it is too large Load Diff

View File

@@ -757,6 +757,13 @@
"when": 1756429785728,
"tag": "0107_bitter_starfox",
"breakpoints": true
},
{
"idx": 108,
"version": "7",
"when": 1757064765683,
"tag": "0108_needy_rocket_raccoon",
"breakpoints": true
}
]
}

View File

@@ -114,7 +114,6 @@ export const ntfy = pgTable("ntfy", {
topic: text("topic").notNull(),
accessToken: text("accessToken").notNull(),
priority: integer("priority").notNull().default(3),
decoration: boolean("decoration"),
});
export const notificationsRelations = relations(notifications, ({ one }) => ({