新增競賽前台呈現、刪除競賽、修改競賽狀態
This commit is contained in:
@@ -89,12 +89,13 @@ CREATE TABLE `competitions` (
|
||||
`month` INT NOT NULL,
|
||||
`start_date` DATE NOT NULL,
|
||||
`end_date` DATE NOT NULL,
|
||||
`status` ENUM('upcoming', 'active', 'judging', 'completed') DEFAULT 'upcoming',
|
||||
`status` ENUM('upcoming', 'ongoing', 'active', 'judging', 'completed') DEFAULT 'upcoming',
|
||||
`description` TEXT,
|
||||
`type` ENUM('individual', 'team', 'mixed', 'proposal') NOT NULL,
|
||||
`evaluation_focus` TEXT,
|
||||
`max_team_size` INT NULL,
|
||||
`is_active` BOOLEAN DEFAULT TRUE,
|
||||
`is_current` BOOLEAN DEFAULT FALSE,
|
||||
`created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
`updated_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
INDEX `idx_year_month` (`year`, `month`),
|
||||
|
Reference in New Issue
Block a user