Skip to content

Commit

Permalink
update readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
irahardianto committed Dec 12, 2017
1 parent e1af7a6 commit dbefb8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Setup dependencies

Setup sqlite data structure

sqlite3 /var/tmp/gorm.db < setup.sql
sqlite3 /var/tmp/tennis.db < setup.sql

Test first for your liking

Expand Down
2 changes: 1 addition & 1 deletion infrastructures/SqlConnection.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (sql *SqlConnection) InitDB() error {
var err error

// open a db connection //
sql.Db, err = gorm.Open("sqlite3", "/var/tmp/gorm.db")
sql.Db, err = gorm.Open("sqlite3", "/var/tmp/tennis.db")
if err != nil {
fmt.Println("Failed to connect database : ", err.Error())
}
Expand Down

0 comments on commit dbefb8f

Please sign in to comment.