1
1
Fork 0
mirror of https://github.com/openvk/openvk synced 2025-01-13 03:22:58 +03:00
openvk/install/sqls/00050-new-video-fields.sql

2 lines
275 B
SQL

ALTER TABLE `videos` ADD `length` SMALLINT(5) UNSIGNED NULL DEFAULT NULL AFTER `name`, ADD INDEX `length` (`length`);
ALTER TABLE `videos` ADD `height` SMALLINT(5) UNSIGNED NULL DEFAULT NULL AFTER `length`, ADD `width` SMALLINT(5) UNSIGNED NULL DEFAULT NULL AFTER `height`;