mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
Allow changing db schema from public (#4873)
* Remove public schema from enum defs * Update queries * Fix
This commit is contained in:
@ -63,7 +63,9 @@ func main() {
|
||||
// Remove all comments.
|
||||
"/^--/d",
|
||||
// Public is implicit in the schema.
|
||||
"s/ public\\./ /",
|
||||
"s/ public\\./ /g",
|
||||
"s/::public\\./::/g",
|
||||
"s/'public\\./'/g",
|
||||
// Remove database settings.
|
||||
"s/SET .* = .*;//g",
|
||||
// Remove select statements. These aren't useful
|
||||
|
Reference in New Issue
Block a user