8000 Fix down · coder/coder@5a5ca80 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5a5ca80

Browse files
committed
Fix down
1 parent a41c0a7 commit 5a5ca80

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

coderd/database/migrations/000330_workspace_with_correct_owner_names.down.sql

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,6 @@ FROM (
3333

3434
COMMENT ON VIEW template_version_with_user IS 'Joins in the username + avatar url of the created by user.';
3535

36-
-- Recreate `visible_users` as described in dump.sql
37-
DROP VIEW visible_users;
38-
39-
CREATE VIEW visible_users AS
40-
SELECT users.id, users.username, users.avatar_url
41-
FROM users;
42-
43-
COMMENT ON VIEW visible_users IS 'Visible fields of users are allowed to be joined with other tables for including context of other resources.';
44-
4536
-- Recreate `workspace_build_with_user` as described in dump.sql
4637
DROP VIEW workspace_build_with_user;
4738

@@ -239,3 +230,12 @@ FROM (
239230
);
240231

241232
COMMENT ON VIEW template_version_with_user IS 'Joins in the username + avatar url of the created by user.';
233+
234+
-- Recreate `visible_users` as described in dump.sql
235+
DROP VIEW visible_users;
236+
237+
CREATE VIEW visible_users AS
238+
SELECT users.id, users.username, users.avatar_url
239+
FROM users;
240+
241+
COMMENT ON VIEW visible_users IS 'Visible fields of users are allowed to be joined with other tables for including context of other resources.';

0 commit comments

Comments
 (0)
0