Steuerkram/migrations/003_test_mode.sql
2026-03-25 00:19:33 +01:00

6 lines
284 B
SQL

-- 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;