mirror of https://github.com/go-gorm/gorm.git
Add sql-cli
This commit is contained in:
parent
f962872b48
commit
da1e54d5ab
|
@ -64,6 +64,8 @@ func OpenTestConnection() (db *gorm.DB, err error) {
|
|||
// USE gorm;
|
||||
// CREATE USER gorm FROM LOGIN gorm;
|
||||
// sp_changedbowner 'gorm';
|
||||
// npm install -g sql-cli
|
||||
// mssql -u gorm -p LoremIpsum86 -d gorm -o 9930
|
||||
log.Println("testing sqlserver...")
|
||||
if dbDSN == "" {
|
||||
dbDSN = "sqlserver://gorm:LoremIpsum86@localhost:9930?database=gorm"
|
||||
|
|
Loading…
Reference in New Issue