Roll Back Punkt - Ansicht klappt so semi
Dieser Commit ist enthalten in:
@ -403,6 +403,19 @@ export function initializeDatabase() {
|
||||
CREATE INDEX IF NOT EXISTS idx_org_units_level ON organizational_units(level);
|
||||
`)
|
||||
|
||||
// Import rules for organization parsing (persist admin overrides)
|
||||
db.exec(`
|
||||
CREATE TABLE IF NOT EXISTS organization_import_rules (
|
||||
id TEXT PRIMARY KEY,
|
||||
target_code TEXT UNIQUE NOT NULL,
|
||||
parent_code TEXT,
|
||||
type_override TEXT,
|
||||
name_override TEXT,
|
||||
created_at TEXT NOT NULL
|
||||
);
|
||||
CREATE INDEX IF NOT EXISTS idx_org_rules_target ON organization_import_rules(target_code);
|
||||
`)
|
||||
|
||||
// Employee Unit Assignments
|
||||
db.exec(`
|
||||
CREATE TABLE IF NOT EXISTS employee_unit_assignments (
|
||||
@ -554,4 +567,4 @@ export function initializeDatabase() {
|
||||
CREATE INDEX IF NOT EXISTS idx_bookings_status ON bookings(status);
|
||||
CREATE INDEX IF NOT EXISTS idx_workspace_analytics_date ON workspace_analytics(date);
|
||||
`)
|
||||
}
|
||||
}
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren