11 lines
403 B
SQL
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;
|