Use ordered SQLite migrations (Refs #75)
CI / checks (push) Successful in 5m6s

This commit is contained in:
2026-10-10 00:01:18 -04:00
parent a0663e43b8
commit 8d1bb69591
56 changed files with 1085 additions and 736 deletions
-2
View File
@@ -18,8 +18,6 @@ afterEach(async () => {
async function host(id: string, createdAt = epoch - 7 * 86_400_000) {
const { db } = await import('../../src/lib/server/db/index.js');
const { ensureHostSchema } = await import('../../src/lib/server/hosts/schema.js');
ensureHostSchema(db());
db()
.prepare('INSERT INTO ec_hosts (id,name,created_at) VALUES (?,?,?)')
.run(id, id, new Date(createdAt).toISOString());