Code Cleanups

This commit is contained in:
2024-05-31 22:47:04 +02:00
parent 837b371d9c
commit 492d5a0028
40 changed files with 3 additions and 249 deletions

View File

@@ -4,7 +4,7 @@ SET time_zone = "+00:00";
CREATE TABLE `%tablename%` (
`id` int NOT NULL AUTO_INCREMENT,
`gruppe_id` int NOT NULL,
`EVENTiD` int NOT NULL,
`teilnahme` ENUM('participant','volunteer','other','') NOT NULL,
`vorname` varchar(128) NOT NULL,
`nachname` varchar(128) NOT NULL,
@@ -49,7 +49,4 @@ ALTER TABLE `%tablename%`
ALTER TABLE `%tablename%`
MODIFY `id` int NOT NULL AUTO_INCREMENT;
ALTER TABLE `%tablename%`
ADD CONSTRAINT `event_gruppe` FOREIGN KEY (`gruppe_id`) REFERENCES `%prefix%kompass_veranstaltungen_gruppen` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
COMMIT;