Skip to content

feat: add PUT /api/v2/users/:user-id/suspend endpoint #1154

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 11 commits into from
Apr 26, 2022
Prev Previous commit
Next Next commit
fix: drop type after drop the column
  • Loading branch information
BrunoQuaresma committed Apr 26, 2022
commit a36c2225aa6f64e15002d37f76a32a00243b1882
4 changes: 2 additions & 2 deletions coderd/database/migrations/000007_user_status.down.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DROP TYPE user_status;

ALTER TABLE ONLY users
DROP COLUMN IF EXISTS status;

DROP TYPE user_status;