First take on the "send from url" feature
This commit is contained in:
parent
d8b98d2a8b
commit
e4c71f4026
9 changed files with 190 additions and 117 deletions
12
setup/sql/upgrade-00004.sql
Normal file
12
setup/sql/upgrade-00004.sql
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Header section
|
||||
# Define incrementing schema version number
|
||||
SET @schema_version = '4';
|
||||
|
||||
# Adds new column 'template_url' to campaigns table
|
||||
# Indicates that this campaign should fetch message content from this URL
|
||||
ALTER TABLE `campaigns` ADD COLUMN `template_url` varchar(255) CHARACTER SET ascii DEFAULT NULL AFTER `template`;
|
||||
|
||||
# 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