-- Migration 003: Test-Modus Einstellung ALTER TABLE company_settings ADD COLUMN IF NOT EXISTS test_mode TINYINT(1) NOT NULL DEFAULT 1 COMMENT '1 = Testinstallation (Löschen erlaubt), 0 = Produktiv (GoBD-strikt)'; UPDATE company_settings SET test_mode = 1 WHERE id = 1;