first commit

This commit is contained in:
2026-07-16 09:35:32 +02:00
commit dd0746e2e6
179 changed files with 25679 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
CREATE TABLE `mdt_laws` (
`id` int AUTO_INCREMENT NOT NULL,
`category` varchar(64) NOT NULL DEFAULT 'Allgemein',
`paragraph` varchar(32) NOT NULL,
`title` varchar(255) NOT NULL,
`description` text,
`fine` int,
`jail_time` int,
`sort_order` int NOT NULL DEFAULT 0,
`created_at` timestamp NOT NULL DEFAULT (now()),
`updated_at` timestamp NOT NULL DEFAULT (now()) ON UPDATE CURRENT_TIMESTAMP,
CONSTRAINT `mdt_laws_id` PRIMARY KEY(`id`)
);
--> statement-breakpoint
CREATE INDEX `law_category_idx` ON `mdt_laws` (`category`);