Created
July 22, 2020 08:52
-
-
Save dapi/f84c29062342a8e3e69565b29b424ca6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE `epg` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`timestart` timestamp NULL DEFAULT NULL, | |
`timestop` timestamp NULL DEFAULT NULL, | |
`title` varchar(256) DEFAULT NULL, | |
`desc` text, | |
`epg_id` int(11) DEFAULT NULL, | |
`date` date DEFAULT NULL, | |
`cdnvideo` tinyint(1) DEFAULT '0', | |
`rating` smallint(6) DEFAULT NULL, | |
`director_id` int(11) DEFAULT NULL, | |
`year` smallint(6) DEFAULT NULL, | |
`time_zone` varchar(255) NOT NULL DEFAULT 'UTC+03:00', | |
PRIMARY KEY (`id`), | |
KEY `epg_id` (`epg_id`), | |
KEY `date` (`date`), | |
KEY `epg_tst_tsp` (`epg_id`,`timestart`,`timestop`) | |
) ENGINE=InnoDB AUTO_INCREMENT=23694966 DEFAULT CHARSET=utf8; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment