Commit Graph

16 Commits (2a861ea430ec07fdfe627867b7bfb552994034d9)

Author SHA1 Message Date
Steven d11bd30ec6 chore: tweak logger 6 months ago
Steven 6e901fc940 refactor: store migrator 7 months ago
Steven 3dddd3ec4c chore: tweak reaction store 1 year ago
Steven d67eaaaee2 chore: update database migrator 1 year ago
Steven 501f8898f6 chore: fix postgres stmts 1 year ago
Steven e0cacfc6d6 chore: retire auto backup for sqlite 1 year ago
Steven a6ee61e96d chore: update package name 1 year ago
Steven 87ddeb2c79 chore: adjust store test for mysql 1 year ago
Athurg Gooth 5121e9f954
chore: move migration and seed code into driver (#2294)
Move migration and seed code into driver
1 year ago
Athurg Gooth ca98367a0a
chore: store vacuum and clean (#2293)
* Move all vacuum code into driver

* Remove db from Store
1 year ago
Steven 63b55c4f65 chore: fix tests 1 year ago
Athurg Gooth 41eba71f0f
chore: split sql to driver (#2279)
* Add new database interface for SQL operations

* Move SQL code of Activity into Database

* Rename `Database` into `Driver`

* Move SQL code of SystemSetting into Driver

* Fix store.New in text code

* Change database into driver in the variables

* Change sqlite3.New into sqlite3.NewDriver
1 year ago
boojack ad1822d308
chore: update db utils (#2177) 2 years ago
Athurg Gooth ddf4cae537
feat: disable CGO_ENABLED (#1766)
* Replace mattn/go-sqlite3 with modernc.org/sqlite

* Disable CGO to make binary work without special c lib

* Replace mattn/go-sqlite3 with modernc.org/sqlite in testing code

* Tidy go module

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
boojack c9a5df81ce
chore: update store tests (#1449) 2 years ago
boojack 0baf6b0e19
feat: add test for user store (#1438) 2 years ago