9 lines
471 B
SQL
9 lines
471 B
SQL
-- Restore the previous email branding if this migration is rolled back.
|
|
UPDATE email_templates
|
|
SET name = REPLACE(name, 'Rezina', 'Yimaru Academy'),
|
|
subject = REPLACE(subject, 'Rezina', 'Yimaru Academy'),
|
|
body_text = REPLACE(body_text, 'Rezina', 'Yimaru Academy'),
|
|
body_html = REPLACE(body_html, 'Rezina', 'Yimaru Academy'),
|
|
updated_at = NOW()
|
|
WHERE slug IN ('otp', 'invitation', 'password_reset', 'welcome', 'custom_message', 'subscription_activated');
|