Updates ORM to new version
This commit is contained in:
parent
f52708e7d3
commit
4c5109a19e
|
@ -94,7 +94,7 @@ type Episode struct {
|
|||
Season sql.NullInt64 `sql:"not null;default:1"`
|
||||
}
|
||||
|
||||
var Db gorm.DB
|
||||
var Db *gorm.DB
|
||||
|
||||
func InitDb(connection string) (error) {
|
||||
var err error
|
||||
|
|
Loading…
Reference in a new issue