updating schema to have a description field on term_glosses

This commit is contained in:
lila 2026-04-20 08:46:05 +02:00
parent 091a901485
commit eacdd35295
6 changed files with 1116 additions and 2 deletions

View file

@ -51,6 +51,7 @@ export const term_glosses = pgTable(
.references(() => terms.id, { onDelete: "cascade" }),
language_code: varchar({ length: 10 }).notNull(),
text: text().notNull(),
description: text(),
created_at: timestamp({ withTimezone: true }).defaultNow().notNull(),
},
(table) => [