Fixed outstanding failed tests

This commit is contained in:
Patrick O'brien 2016-09-10 01:06:07 +10:00
parent ac02f7d2e0
commit 817189fbfd
3 changed files with 14 additions and 14 deletions
strmangle

View file

@ -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)
}