React/Vite Frontend (hifi-src) + PHP/MariaDB Backend (hifi/api) fuer den Car-Hifi Umbau-Shop HifiPlanet in Amorbach, inkl. Admin-Panel, 2FA, Wartungsmodus, Cookie-Consent und rechtlichen Pflichtseiten. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
14 lines
550 B
SQL
14 lines
550 B
SQL
USE hifi_shop;
|
|
|
|
CREATE TABLE IF NOT EXISTS app_settings (
|
|
id INT PRIMARY KEY DEFAULT 1,
|
|
maintenance_global TINYINT(1) NOT NULL DEFAULT 0,
|
|
maintenance_global_message VARCHAR(500) NULL,
|
|
maintenance_services TINYINT(1) NOT NULL DEFAULT 0,
|
|
maintenance_services_message VARCHAR(500) NULL,
|
|
maintenance_vehicles TINYINT(1) NOT NULL DEFAULT 0,
|
|
maintenance_vehicles_message VARCHAR(500) NULL,
|
|
updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
|
|
) ENGINE=InnoDB;
|
|
|
|
INSERT IGNORE INTO app_settings (id) VALUES (1);
|