code stable. terminal initializes, database successfully connects, reads and writes. css on maintenance page needs tweaking. terminal still displays before initialization.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { mysqlTable, serial, int, text, tinyint } from 'drizzle-orm/mysql-core';
|
||||
|
||||
export const task = mysqlTable('task', {
|
||||
id: serial('id').primaryKey(),
|
||||
title: text('title').notNull(),
|
||||
priority: int('priority').notNull().default(1)
|
||||
});
|
||||
|
||||
export const settings = mysqlTable('settings', {
|
||||
var: text('var').notNull().unique(),
|
||||
state: tinyint('state')
|
||||
});
|
||||
|
||||
export type Setting = typeof settings.$inferSelect;
|
||||
|
||||
Reference in New Issue
Block a user