mirror of
https://github.com/HugeFrog24/go-telegram-bot.git
synced 2026-03-02 00:14:34 +00:00
Upd deps
This commit is contained in:
2
database.go
Executable file → Normal file
2
database.go
Executable file → Normal file
@@ -20,7 +20,7 @@ func initDB() (*gorm.DB, error) {
|
||||
},
|
||||
)
|
||||
|
||||
db, err := gorm.Open(sqlite.Open("bot.db"), &gorm.Config{
|
||||
db, err := gorm.Open(sqlite.Open("data/bot.db"), &gorm.Config{
|
||||
Logger: newLogger,
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user