Skip to content

Allow changing db schema from public #4873

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 3 commits into from
Nov 4, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove public schema from enum defs
  • Loading branch information
mtojek committed Nov 3, 2022
commit 806643cfc92f7da9d92240e287dcb5e8169bf4a1
12 changes: 6 additions & 6 deletions coderd/database/dump.sql

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions coderd/database/gen/dump/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func main() {
"/^--/d",
// Public is implicit in the schema.
"s/ public\\./ /",
"s/::public\\./::/",
// Remove database settings.
"s/SET .* = .*;//g",
// Remove select statements. These aren't useful
Expand Down