mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Template/Update (Part 38)
* split Screenshot upload & management into separate endpoints * move shared functions to manager classes * cleanup javascript * move test for config screenshot min size to cfg class
This commit is contained in:
3
setup/updates/1758578400_05.sql
Normal file
3
setup/updates/1758578400_05.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
DELETE FROM `aowow_config` WHERE `key` = 'screenshot_min_size';
|
||||
INSERT INTO `aowow_config` (`key`, `value`, `default`, `cat`, `flags`, `comment`) VALUES
|
||||
('screenshot_min_size', 200, 200, 1, 1153, "minimum dimensions of uploaded screenshots in px (yes, it's square, no it cant go below 200)");
|
||||
2
setup/updates/1758578400_06.sql
Normal file
2
setup/updates/1758578400_06.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `aowow_screenshots`
|
||||
MODIFY COLUMN `caption` varchar(200) DEFAULT NULL;
|
||||
Reference in New Issue
Block a user