Fixed outstanding failed tests
This commit is contained in:
parent
ac02f7d2e0
commit
817189fbfd
3 changed files with 14 additions and 14 deletions
strmangle
|
@ -39,7 +39,7 @@ func init() {
|
|||
// for Postgres: "schema_name"."table_name", versus
|
||||
// simply "table_name" for MySQL (because it does not support real schemas)
|
||||
func SchemaTable(driver string, schema string, table string) string {
|
||||
if driver == "postgres" {
|
||||
if driver == "postgres" && schema != "public" {
|
||||
return fmt.Sprintf(`"%s"."%s"`, schema, table)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue