mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- implemented screenshot handling, inclding
* 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
This commit is contained in:
16
setup/updates/03_screenshots.sql
Normal file
16
setup/updates/03_screenshots.sql
Normal file
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user