-
Notifications
You must be signed in to change notification settings - Fork 914
feat: enable soft delete for organizations #16584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
606a5fa
feat: orgs soft delete
jaaydenh 609890f
chore: rename migration
jaaydenh 31e5eb2
chore: add deleted to audit table
jaaydenh 608661b
chore: update audit table
jaaydenh 54039cf
chore: code generated from db migration
jaaydenh 9516695
feat: updates for soft delete
jaaydenh 9a26df6
chore: updates to sql.go
jaaydenh f1f25e1
fix: update indexes and unique constraint
jaaydenh b202254
fix: update migration number
jaaydenh 1bf3742
fix: fix TestEnterpriseAuditLogs
jaaydenh 41e943b
fix: revert test
jaaydenh 9fe8da1
fix: updates for pr review
jaaydenh 6929988
feat: add trigger to check for resources on soft delete
jaaydenh eb88091
chore: update trigger function
jaaydenh 10d1564
fix: drop index add members check to trigger
jaaydenh 56260b0
fix: fix frontend display of error messages
jaaydenh 5968da1
fix: fix tests
jaaydenh 70bf5e3
fix: fix test
jaaydenh 50074d1
fix fix e2e test
jaaydenh eed03fe
fix: fix format
jaaydenh 891cbae
fix: update trigger
jaaydenh 22d27f8
chore: implement unit test to test trigger with >0 workspaces
Emyrk dc5fc46
use dbfake
Emyrk 9466ff7
fix: trigger
jaaydenh ae2bf08
Merge branch 'jaaydenh/orgs-soft-delete' of https://github.com/coder/…
jaaydenh 041630c
chore: update delete org trigger name
jaaydenh 607311f
chore: add additional org delete trigger tests
jaaydenh 7291c02
chore: change name
jaaydenh b9b7a14
fix: update trigger name
jaaydenh 9af7cb5
fix: fix tests
jaaydenh aee6834
fix: fix test
jaaydenh 74ef3de
fix: update e2e test
jaaydenh 4c70aaa
Update coderd/database/querier_test.go
jaaydenh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.