Added views for bounced/unsubscribed/complained etc.
This commit is contained in:
parent
97803b74ed
commit
408f021c36
9 changed files with 437 additions and 29 deletions
15
setup/sql/upgrade-00011.sql
Normal file
15
setup/sql/upgrade-00011.sql
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Header section
|
||||
# Define incrementing schema version number
|
||||
SET @schema_version = '11';
|
||||
|
||||
-- {{#each tables.campaign}}
|
||||
|
||||
# Adds new index for 'status' on campaign messages table
|
||||
CREATE INDEX status_index ON `{{this}}` (`status`);
|
||||
|
||||
-- {{/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