This commit is contained in:
lila 2026-04-01 02:43:55 +02:00
parent a49bce4a5a
commit 7fdcedd1dd
2 changed files with 106 additions and 35 deletions

View file

@ -133,10 +133,7 @@ export const decks = pgTable(
name: text().notNull(),
description: text(),
source_language: varchar({ length: 10 }).notNull(),
validated_for_languages: varchar({ length: 10 })
.array()
.notNull()
.default([]),
validated_languages: varchar({ length: 10 }).array().notNull().default([]),
is_public: boolean().default(false).notNull(),
created_at: timestamp({ withTimezone: true }).defaultNow().notNull(),
},