diff --git a/database/schema/serverData.ts b/database/schema/serverData.ts index e1beb19..3f646c7 100644 --- a/database/schema/serverData.ts +++ b/database/schema/serverData.ts @@ -1,5 +1,15 @@ -import {boolean, date, jsonb, numeric, pgTable, text, timestamp, uniqueIndex, uuid} from "drizzle-orm/pg-core"; -import {createSelectSchema} from "drizzle-zod"; +import { + boolean, + date, + jsonb, + numeric, + pgTable, + text, + timestamp, + uniqueIndex, + uuid, +} from "drizzle-orm/pg-core"; +import { createSelectSchema } from "drizzle-zod"; export const serverData = pgTable( "serverData", @@ -21,9 +31,13 @@ export const serverData = pgTable( serverLoc: text("serverLoc"), oldVersion: text("oldVersion"), lastUpdated: timestamp("lastUpdated").defaultNow(), - shippingHours: text("shippingHours").default('[{"early": "06:30", "late": "23:00"}]'), + shippingHours: text("shippingHours").default( + '[{"early": "06:30", "late": "23:00"}]' + ), tiPostTime: text("tiPostTime").default('[{"from": "24", "to": "24"}]'), - otherSettings: jsonb("otherSettings").default([{specialInstructions: "something for ti", active: false}]), + otherSettings: jsonb("otherSettings").default([ + { specialInstructions: "something for ti", active: false }, + ]), isUpgrading: boolean("isUpgrading").default(false), },