Zertifizierung erforderlich ist weg

Dieser Commit ist enthalten in:
Claude Project Manager
2025-09-29 19:56:34 +02:00
Ursprung 6466b36ddf
Commit e821fb0567
11 geänderte Dateien mit 30 neuen und 73 gelöschten Zeilen

Datei anzeigen

@ -31,8 +31,8 @@ function main() {
}
const insert = db.prepare(`
INSERT OR IGNORE INTO skills (id, name, category, description, requires_certification, expires_after)
VALUES (?, ?, ?, ?, ?, ?)
INSERT OR IGNORE INTO skills (id, name, category, description, expires_after)
VALUES (?, ?, ?, ?, ?)
`)
let count = 0
@ -43,9 +43,8 @@ function main() {
const id = `${categoryKey}.${sk.id}`
const name = sk.name
const description = null
const requires = cat.id === 'certifications' || sub.id === 'weapons' ? 1 : 0
const expires = cat.id === 'certifications' ? 36 : null
const res = insert.run(id, name, categoryKey, description, requires, expires)
const res = insert.run(id, name, categoryKey, description, expires)
if (res.changes > 0) count++
}
}