Change to Sqlite driver that doesn't need CGO github.com/glebarez/sqlite
This commit is contained in:
parent
a5d07a545a
commit
33b3389384
4 changed files with 28 additions and 6 deletions
|
@ -6,12 +6,12 @@ import (
|
|||
"time"
|
||||
|
||||
"gorm.io/driver/postgres"
|
||||
"gorm.io/driver/sqlite" // Sqlite driver based on CGO
|
||||
// "gorm.io/driver/sqlite" // Sqlite driver based on CGO
|
||||
"gorm.io/gorm/logger"
|
||||
|
||||
// "github.com/glebarez/sqlite" // Pure go SQLite driver, checkout https://github.com/glebarez/sqlite for details
|
||||
"donetick.com/core/config"
|
||||
"donetick.com/core/logging"
|
||||
"github.com/glebarez/sqlite" // Pure go SQLite driver, checkout https://github.com/glebarez/sqlite for details
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue