refactor(server): 切换 SQLite 并重建设备/任务表结构

This commit is contained in:
2026-03-05 16:23:30 +08:00
parent d2eb98d612
commit 8261409d7d
11 changed files with 68 additions and 50 deletions

View File

@@ -3,7 +3,7 @@ import { z } from 'zod'
export const env = createEnv({
server: {
DATABASE_URL: z.url(),
DATABASE_PATH: z.string().min(1).default('data.db'),
},
clientPrefix: 'VITE_',
client: {