mailtrain/server/setup/sql/upgrade-00017.sql
Tomas Bures 2edbd67205 New project structure
Beta of extract.js for extracting english locale
2018-11-18 15:38:52 +01:00

11 lines
403 B
SQL

# Header section
# Define incrementing schema version number
SET @schema_version = '17';
# Add template field for group elements
ALTER TABLE `custom_fields` ADD COLUMN `group_template` text AFTER `group`;
# Footer section
LOCK TABLES `settings` WRITE;
INSERT INTO `settings` (`key`, `value`) VALUES('db_schema_version', @schema_version) ON DUPLICATE KEY UPDATE `value`=@schema_version;
UNLOCK TABLES;