diff --git a/src/com_weblinks/admin/sql/updates/mysql/3.4.0.sql b/src/com_weblinks/admin/sql/updates/mysql/3.4.0.sql index 80c2c0b..ac17a46 100644 --- a/src/com_weblinks/admin/sql/updates/mysql/3.4.0.sql +++ b/src/com_weblinks/admin/sql/updates/mysql/3.4.0.sql @@ -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;