aowow/setup/sql/updates/1758578400_08.sql
Sarjuuk 647be4a946 Setup/SQL
* move sql files into its own folder.
 * move outdated updates out of the update folder, sorted by github tags
 * split up the db dump so my editor doesn't try to hang itself if i dare to touch that file
2025-09-25 18:44:48 +02:00

8 lines
441 B
SQL

-- update video storage
ALTER TABLE `aowow_videos`
ADD COLUMN `pos` tinyint unsigned NOT NULL AFTER `videoId`,
ADD COLUMN `url` varchar(64) NOT NULL COMMENT 'preview thumb' AFTER `pos`,
ADD COLUMN `width` smallint unsigned NOT NULL AFTER `url`,
ADD COLUMN `height` smallint unsigned NOT NULL AFTER `width`,
ADD COLUMN `name` varchar(64) DEFAULT NULL AFTER `height`,
MODIFY COLUMN `caption` varchar(200) DEFAULT NULL;