Rectesystem eingebaut

This commit is contained in:
2026-04-05 11:19:20 +02:00
parent cfd25d3b54
commit eb35501712
9 changed files with 1046 additions and 25 deletions
+15
View File
@@ -47,6 +47,21 @@ CREATE TABLE IF NOT EXISTS `app_users` (
-- Daten-Export vom Benutzer nicht ausgewählt
-- Exportiere Struktur von Tabelle d0467f49.app_user_page_permissions
CREATE TABLE IF NOT EXISTS `app_user_page_permissions` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) unsigned NOT NULL,
`page_key` varchar(100) NOT NULL,
`created_at` datetime NOT NULL DEFAULT current_timestamp(),
`updated_at` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
PRIMARY KEY (`id`),
UNIQUE KEY `uq_app_user_page_permissions_user_page` (`user_id`,`page_key`),
KEY `idx_app_user_page_permissions_page_key` (`page_key`),
CONSTRAINT `fk_app_user_page_permissions_user_id` FOREIGN KEY (`user_id`) REFERENCES `app_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Daten-Export vom Benutzer nicht ausgewählt
-- Exportiere Struktur von Tabelle d0467f49.app_user_locations
CREATE TABLE IF NOT EXISTS `app_user_locations` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,