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:
2026-03-08 09:52:49 +01:00
parent 55787fe3c5
commit b40fa704c6
21 changed files with 990 additions and 31 deletions
+15
View File
@@ -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;