mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
* editing after upload * reputation gain for approved uploads * moderator interface (albeit a bit wonky) I still do not speak French, Spanish or Russian, so translations are appreciated
17 lines
698 B
SQL
17 lines
698 B
SQL
DROP TABLE IF EXISTS `aowow_screenshots`;
|
|
CREATE TABLE IF NOT EXISTS `aowow_screenshots` (
|
|
`id` int(16) unsigned NOT NULL AUTO_INCREMENT,
|
|
`type` tinyint(4) unsigned NOT NULL,
|
|
`typeId` mediumint(9) NOT NULL,
|
|
`uploader` int(16) unsigned NOT NULL,
|
|
`date` int(32) unsigned NOT NULL,
|
|
`width` smallint(5) unsigned NOT NULL,
|
|
`height` smallint(5) unsigned NOT NULL,
|
|
`caption` varchar(250) DEFAULT NULL,
|
|
`status` tinyint(3) unsigned NOT NULL COMMENT 'see defines.php - CC_FLAG_*',
|
|
`approvedBy` int(16) unsigned DEFAULT NULL,
|
|
`deletedBy` int(16) unsigned DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `type` (`type`,`typeId`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|