From 69a99f0c0387c9a68cc91ecffb06c224474e8e96 Mon Sep 17 00:00:00 2001 From: Marcin Tojek Date: Fri, 2 Aug 2024 09:55:22 +0200 Subject: [PATCH] fix: typo in notification template --- .../000234_fix_notifications_user_created.down.sql | 5 +++++ .../migrations/000234_fix_notifications_user_created.up.sql | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 coderd/database/migrations/000234_fix_notifications_user_created.down.sql create mode 100644 coderd/database/migrations/000234_fix_notifications_user_created.up.sql diff --git a/coderd/database/migrations/000234_fix_notifications_user_created.down.sql b/coderd/database/migrations/000234_fix_notifications_user_created.down.sql new file mode 100644 index 0000000000000..526b9aef53e5a --- /dev/null +++ b/coderd/database/migrations/000234_fix_notifications_user_created.down.sql @@ -0,0 +1,5 @@ +UPDATE notification_templates +SET + body_template = E'Hi {{.UserName}},\n\New user account **{{.Labels.created_account_name}}** has been created.' +WHERE + id = '4e19c0ac-94e1-4532-9515-d1801aa283b2'; diff --git a/coderd/database/migrations/000234_fix_notifications_user_created.up.sql b/coderd/database/migrations/000234_fix_notifications_user_created.up.sql new file mode 100644 index 0000000000000..5fb59dbd2ecdf --- /dev/null +++ b/coderd/database/migrations/000234_fix_notifications_user_created.up.sql @@ -0,0 +1,5 @@ +UPDATE notification_templates +SET + body_template = E'Hi {{.UserName}},\n\nNew user account **{{.Labels.created_account_name}}** has been created.' +WHERE + id = '4e19c0ac-94e1-4532-9515-d1801aa283b2';