new features

This commit is contained in:
torsten 2026-10-21 20:22:20 +02:00
parent 9fcd228eb2
commit a73358d2f1
9 changed files with 538 additions and 2 deletions

View file

@ -102,6 +102,7 @@ CREATE TABLE `settings` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`current_season_id` int(11) NOT NULL,
`registration_open` tinyint(1) NOT NULL DEFAULT '1',
`message` text DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
@ -144,6 +145,23 @@ CREATE TABLE `roundmails` (
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
DROP TABLE IF EXISTS `questions`;
CREATE TABLE `questions` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`question` text NOT NULL,
`question_date` datetime NOT NULL,
`answer` text DEFAULT NULL,
`answer_date` datetime DEFAULT NULL,
`answered_by` int(11) DEFAULT NULL,
`answer_seen` tinyint(1) NOT NULL DEFAULT '0',
`question_seen` tinyint(1) NOT NULL DEFAULT '0',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `questions_user_id_index` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
DROP TABLE IF EXISTS `manual_payouts`;
CREATE TABLE `manual_payouts` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,