This commit is contained in:
2024-08-14 15:34:06 +02:00
parent 34937fc3c9
commit 2d64c753cc
8 changed files with 191 additions and 20 deletions

View File

@@ -4,7 +4,6 @@ import { sql } from 'drizzle-orm'
export const verbs = sqliteTable('verbs', {
id: integer('id').primaryKey(),
verb: text('verb').default(''),
type: text('type', { enum: ['-ar', '-er', '-ir'] }),
translation: text('translation').default(''),
createdAt: text('created_at').default(sql`(CURRENT_DATE)`),
})
@@ -12,7 +11,6 @@ export const verbs = sqliteTable('verbs', {
export const words = sqliteTable('words', {
id: integer('id').primaryKey(),
word: text('word').default(''),
type: text('type').default(''),
translation: text('translation').default(''),
createdAt: text('created_at').default(sql`(CURRENT_DATE)`),
})