v1.10.0
This commit is contained in:
parent
f29a8a1b67
commit
773977dd96
10 changed files with 194 additions and 132 deletions
15
setup/sql/upgrade-00013.sql
Normal file
15
setup/sql/upgrade-00013.sql
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Header section
|
||||
# Define incrementing schema version number
|
||||
SET @schema_version = '13';
|
||||
|
||||
-- {{#each tables.campaign}}
|
||||
|
||||
# Adds separate index for 'subscription' on campaign messages table
|
||||
CREATE INDEX subscription_index ON `{{this}}` (`subscription`);
|
||||
|
||||
-- {{/each}}
|
||||
|
||||
# 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;
|
Loading…
Add table
Add a link
Reference in a new issue