Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb9775fd

Browse files
committed
add pg comment
1 parentb395d60 commitb9775fd

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

‎coderd/database/dump.sql

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/database/migrations/000240_delete_user_roles.up.sql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,9 @@ $$ LANGUAGE plpgsql;
2727
CREATETRIGGERremove_organization_member_custom_role
2828
BEFOREDELETEON custom_roles FOR EACH ROW
2929
EXECUTE PROCEDURE remove_organization_member_role();
30+
31+
32+
COMMENTON TRIGGER
33+
remove_organization_member_custom_role
34+
ON custom_roles IS
35+
'When a custom_role is deleted, this trigger removes the role from all organization members.';

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp