· 9 years ago · Nov 21, 2016, 08:56 PM
1DROP TABLE IF EXISTS `images`;
2CREATE TABLE `images` (
3 `id` int(11) NOT NULL AUTO_INCREMENT,
4 `src` text NOT NULL,
5 `uploader_id` int(11) NOT NULL,
6 `content_id` int(11) NOT NULL,
7 `main` enum('0','1') DEFAULT '0',
8 `timestamp` text NOT NULL,
9 PRIMARY KEY (`id`)
10) ENGINE=InnoDB DEFAULT CHARSET=latin1;