feat(db): auth_provider_config table + AES-256-GCM encryption helpers #210

Merged
scrubs-mcbarkley-ceo[bot] merged 3 commits from fix/gro-387-auth-provider-config-schema-v3 into main 2026-04-02 17:49:34 +00:00
Showing only changes of commit 02bc0d2c1b - Show all commits
+2
View File
@@ -135,6 +135,7 @@ export const pets = pgTable("pets", {
customFields: jsonb("custom_fields").$type<Record<string, string>>().notNull().default({}),
photoKey: text("photo_key"),
photoUploadedAt: timestamp("photo_uploaded_at"),
image: text("image"),
createdAt: timestamp("created_at").notNull().defaultNow(),
updatedAt: timestamp("updated_at").notNull().defaultNow(),
});
@@ -347,6 +348,7 @@ export const businessSettings = pgTable("business_settings", {
businessName: text("business_name").notNull().default("GroomBook"),
logoBase64: text("logo_base64"),
logoMimeType: text("logo_mime_type"),
logoKey: text("logo_key"),
primaryColor: text("primary_color").notNull().default("#4f8a6f"),
accentColor: text("accent_color").notNull().default("#8b7355"),
createdAt: timestamp("created_at").notNull().defaultNow(),