f1d90b60975ef59ba296f19c8252f162d2f4e829
The Drizzle schema used pgText('tags').array() which emits a Postgres
text[] column, but the migration defines tags as jsonb. The mismatch caused
INSERT/LIST on materi_documents to throw INTERNAL_SERVER_ERROR (500) because
Drizzle sent a text[] where the column expected jsonb.
- schema.ts: tags → pgJsonb('tags').notNull().default('[]')
- migration: dropped+recreated to match schema (jsonb, ms epoch defaults,
owner_user_id default 'anonymous')
Description
Bete Discord moderation watcher
26 MiB
Languages
TypeScript
96.9%
Nix
0.9%
Shell
0.8%
CSS
0.6%
PLpgSQL
0.5%
Other
0.3%