Add support for company logos, including schema adjustments, validation, assets handling, and UI display enhancements.

This commit is contained in:
JonCSykes
2026-03-06 16:39:35 -05:00
parent b155415d7d
commit b19d0b6f3b
17 changed files with 6211 additions and 26 deletions

View File

@@ -0,0 +1 @@
ALTER TABLE "companies" ADD COLUMN IF NOT EXISTS "logo_url" text;

File diff suppressed because it is too large Load Diff

View File

@@ -183,6 +183,13 @@
"when": 1772807461603,
"tag": "0025_nasty_salo",
"breakpoints": true
},
{
"idx": 26,
"version": "7",
"when": 1772823634634,
"tag": "0026_high_anita_blake",
"breakpoints": true
}
]
}

View File

@@ -15,6 +15,7 @@ export const companies = pgTable(
.notNull()
.default(true),
brandColor: text("brand_color"),
logoUrl: text("logo_url"),
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
},