mirror of
https://github.com/aclindsa/moneygo.git
synced 2025-06-13 13:39:23 -04:00
Fix gorp to internally lowercase fields for Postgres
Postgres folds all unquoted column names to lowercase, and doing this allows that to work nicely without screwing up the queries for the other database engines.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
package handlers
|
||||
|
||||
import (
|
||||
"gopkg.in/gorp.v2"
|
||||
"github.com/aclindsa/gorp"
|
||||
"log"
|
||||
"net/http"
|
||||
"path"
|
||||
|
@ -2,7 +2,7 @@ package handlers
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"gopkg.in/gorp.v2"
|
||||
"github.com/aclindsa/gorp"
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user