mirror of
https://github.com/ArthurDanjou/arthome.git
synced 2026-01-27 09:50:28 +01:00
Working on arthome
This commit is contained in:
@@ -10,9 +10,3 @@ export function useDrizzle() {
|
||||
const config = useRuntimeConfig()
|
||||
return drizzle(postgres(config.postgres.url, { prepare: false }), { schema })
|
||||
}
|
||||
|
||||
export type UserType = typeof schema.users.$inferSelect
|
||||
export type UserInsert = typeof schema.users.$inferInsert
|
||||
|
||||
export type TabType = typeof schema.tabs.$inferSelect
|
||||
export type CategoryType = typeof schema.categories.$inferSelect
|
||||
|
||||
Reference in New Issue
Block a user