refactor: Update time planning feature

- Update checksums for browser compatibility
- Add script to kill running server process
- Refactor time planning structure and handling
- Adjust database schema and type definitions accordingly
This commit is contained in:
aronmal 2024-03-15 10:59:41 +01:00
parent faa42f0899
commit 3c404ab5fa
Signed by: aronmal
GPG key ID: 816B7707426FC612
8 changed files with 130 additions and 146 deletions

View file

@ -41,7 +41,6 @@ export const discordTokens = pgTable("tokens", {
export const guilds = pgTable("guilds", {
id: bigint("id", { mode: "bigint" }).primaryKey(),
timezone: text("timezone").notNull().default("Etc/UTC"),
tpEnabled: boolean("tp_enabled").notNull().default(false),
tpChannelId: bigint("tp_channel_id", { mode: "bigint" }),
tpInterval: smallint("target_interval").notNull().default(64),
tpRolesEnabled: boolean("tp_roles_enabled").notNull().default(false),