Init nuxt-starter

This commit is contained in:
2024-07-23 20:27:33 +02:00
commit 5c96b8eea0
17 changed files with 279 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import { integer, sqliteTable, text } from 'drizzle-orm/sqlite-core'
import { sql } from 'drizzle-orm'
export const users = sqliteTable('users', {
id: integer('id').primaryKey(),
name: text('name').default(''),
createdAt: text('created_at').default(sql`(CURRENT_DATE)`)
})