loads of nonsense
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
import { integer, sqliteTable, text } from 'drizzle-orm/sqlite-core';
|
||||
|
||||
export const task = sqliteTable('task', {
|
||||
id: text('id').primaryKey().$defaultFn(() => crypto.randomUUID()),
|
||||
title: text('title').notNull(),
|
||||
priority: integer('priority').notNull().default(1)
|
||||
export const houses = sqliteTable('houses', {
|
||||
id: integer('id').primaryKey({ autoIncrement: true }),
|
||||
name: text('name').notNull(),
|
||||
color: text('color').notNull().default('white'),
|
||||
points: integer('points').notNull().default(0)
|
||||
});
|
||||
|
||||
export * from './auth.schema';
|
||||
export const consests = sqliteTable('contests', {
|
||||
id: integer('id').primaryKey({ autoIncrement: true }),
|
||||
event: text('event').notNull()
|
||||
// house:dd make someting idk
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user