projects-jenz/event_notification/python/create_tables.sql

14 lines
545 B
MySQL
Raw Normal View History

2022-06-19 13:40:27 +02:00
CREATE TABLE unloze_event.event (
`event_title` varchar(256) NOT NULL,
`event_server` varchar(256) DEFAULT NULL,
`event_maps` varchar(512) DEFAULT NULL,
`event_date` varchar(512) DEFAULT NULL,
`event_url` varchar(512) DEFAULT NULL,
`event_time` varchar(256) DEFAULT NULL,
`event_reward` varchar(256) DEFAULT NULL,
`set_map_cooldown` boolean DEFAULT NULL,
`posted_event_on_discord` boolean DEFAULT NULL,
`created_on` datetime DEFAULT current_timestamp(),
PRIMARY KEY (`event_title`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;