32
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-12-27 02:12:50 +00:00

Add MySQL schema updates from 2.5 to 3.4

This commit is contained in:
Michael Babker 2014-09-03 14:01:06 -04:00
parent a401bdceba
commit 431d5e0fd7

View File

@ -1 +1,10 @@
# Placeholder file to set the extension database schema version # This is a rollup of all database schema changes applied from 3.0.0 to 3.3.x
ALTER TABLE `#__weblinks` DROP COLUMN `sid`;
ALTER TABLE `#__weblinks` DROP COLUMN `date`;
ALTER TABLE `#__weblinks` DROP COLUMN `archived`;
ALTER TABLE `#__weblinks` DROP COLUMN `approved`;
ALTER TABLE `#__weblinks` ENGINE=InnoDB;
ALTER TABLE `#__weblinks` ADD COLUMN `version` int(10) unsigned NOT NULL DEFAULT '1';
ALTER TABLE `#__weblinks` ADD COLUMN `images` text NOT NULL;