New project structure
Beta of extract.js for extracting english locale
This commit is contained in:
parent
e18d2b2f84
commit
2edbd67205
247 changed files with 6405 additions and 4237 deletions
17
server/setup/sql/upgrade-00010.sql
Normal file
17
server/setup/sql/upgrade-00010.sql
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Header section
|
||||
# Define incrementing schema version number
|
||||
SET @schema_version = '10';
|
||||
|
||||
-- {{#each tables.campaign_tracker}}
|
||||
|
||||
# Adds new column 'created' to campaign tracker table
|
||||
# Indicates when a subscriber first clicked a link or opened the message
|
||||
ALTER TABLE `{{this}}` ADD COLUMN `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER `count`;
|
||||
CREATE INDEX created_index ON `{{this}}` (`created`);
|
||||
|
||||
-- {{/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