We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think sqlite easier and more faster way for development purposes.
It's very easy to add sqlite3 support with import gorm/dialects/sqlite inside db/db.go and new adapter config
gorm/dialects/sqlite
db/db.go
if config.Config.DB.Adapter == "sqlite" { DB, err = gorm.Open("sqlite3", fmt.Sprintf("%v\\%v.sqlite3", os.TempDir(), dbConfig.Name)) }
But it depends on mattn/go-sqlite3 wich needs gcc available on path.
mattn/go-sqlite3
gcc
I've got msys2 with mingw-w64-x86_64-toolchain on my Windows 7 machine and it works perfect for me.
msys2
mingw-w64-x86_64-toolchain
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I think sqlite easier and more faster way for development purposes.
It's very easy to add sqlite3 support with import
gorm/dialects/sqlite
insidedb/db.go
and new adapter config
But it depends on
mattn/go-sqlite3
wich needsgcc
available on path.I've got
msys2
withmingw-w64-x86_64-toolchain
on my Windows 7 machine and it works perfect for me.The text was updated successfully, but these errors were encountered: