sqlite
sqlite copied to clipboard
GORM sqlite driver
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.25.7-0.20240204074919-46816ad31dde to 1.25.10. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=gorm.io/gorm&package-manager=go_modules&previous-version=1.25.7-0.20240204074919-46816ad31dde&new-version=1.25.10)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
- [x] Do only one thing - [x] Non breaking API changes - [x] Tested ### What did this pull request do? It adds a Config struct that can be...
- [x] Do only one thing - [x] Non breaking API changes - [x] Tested ### What did this pull request do? Update go-sqlite3 to v1.14.22 (fixes #177) Tested on...
Please bump this dependency version https://github.com/go-gorm/sqlite/blob/e64f7a58167c1bb6a60bf4ad6422e6d1b6111769/go.mod#L6 This fixes https://github.com/mattn/go-sqlite3/issues/1164 - can't build on Alpine 3.19 (?) For anyone else hitting this, a _temporary workaround_ is to set `CGO_CFLAGS="-D_LARGEFILE64_SOURCE"`
## Description CVE-2023-7104 has been reported for github.com/mattn/go-sqlite3 package, versions
## Describe the feature JSON Operations - [ ] JSON_EXTRACT - [ ] JSON_UNQUOTE - [ ] JSON_KEYS - [ ] ... ## Motivation ## Related Issues
1. [gorm.io/driver/sqlite v1.5.3 normal operation](https://github.com/xuxiaowei-com-cn/sqlite-err/commit/83e9d02b6162470a90b7a9558e4f90dd526b1dd2) 2. [gorm.io/driver/sqlite v1.5.4 Abnormal operation: Create Table Exception](https://github.com/xuxiaowei-com-cn/sqlite-err/commit/fa2a9d672717d6caf200900bb146417914264dd2) 3. View [sqlite/v1.5.4](https://github.com/xuxiaowei-com-cn/sqlite-err/tree/sqlite/v1.5.4) branch and run project replication issues 4. An error PR: https://github.com/xuxiaowei-com-cn/sqlite-err/pull/1
This implements a pure-go alternative driver whenever CGO_ENABLED=0 Related: https://github.com/go-gorm/sqlite/pull/93 Fixes: https://github.com/go-gorm/sqlite/issues/35 Fixes: https://github.com/go-gorm/sqlite/issues/72 Fixes: https://github.com/go-gorm/sqlite/issues/77 Fixes: https://github.com/go-gorm/sqlite/issues/160 - [x] Do only one thing - [x] Non breaking API changes...
## GORM Playground Link https://github.com/go-gorm/playground/pull/660 ## Description I'm using the GORM ORM framework for Golang and have encountered an issue with composite unique indexes. When using the following structure that...
## Description According to https://www.sqlitetutorial.net/sqlite-autoincrement/ https://www.sqlite.org/autoinc.html `AUTOINCREMENT` should be used in sqlite if one want's ID values not to be reused (i.e. after row deletion). With table definition ``` ID...