diff --git a/db_scripts/diff/15606.down b/db_scripts/diff/15606.down new file mode 100644 index 00000000..c3038bbc --- /dev/null +++ b/db_scripts/diff/15606.down @@ -0,0 +1,8 @@ +use billing; +set autocommit=0; + +DELETE from email_templates + WHERE reseller_id IS NULL + AND name = 'admin_passreset_default_email'; + +commit; \ No newline at end of file diff --git a/db_scripts/diff/15606.up b/db_scripts/diff/15606.up new file mode 100644 index 00000000..3781ecae --- /dev/null +++ b/db_scripts/diff/15606.up @@ -0,0 +1,17 @@ +use billing; +set autocommit=0; + +INSERT INTO email_templates (reseller_id, name, from_email, subject, body) +VALUES +(NULL, 'admin_passreset_default_email', 'default@sipwise.com', +'Password reset email', +'Dear Customer, + +Please go to [% url %] to set your password and log into your admin interface. + +Your faithful Sipwise system + +-- +This is an automatically generated message. Do not reply.'); + +commit; \ No newline at end of file