mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
feat: add notification preferences database & audit support (#14100)
This commit is contained in:
5
coderd/database/migrations/testdata/fixtures/000238_notifications_preferences.up.sql
vendored
Normal file
5
coderd/database/migrations/testdata/fixtures/000238_notifications_preferences.up.sql
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
INSERT INTO notification_templates (id, name, title_template, body_template, "group")
|
||||
VALUES ('a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11', 'A', 'title', 'body', 'Group 1') ON CONFLICT DO NOTHING;
|
||||
|
||||
INSERT INTO notification_preferences (user_id, notification_template_id, disabled, created_at, updated_at)
|
||||
VALUES ('a0061a8e-7db7-4585-838c-3116a003dd21', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11', FALSE, '2024-07-15 10:30:00+00', '2024-07-15 10:30:00+00');
|
Reference in New Issue
Block a user