Joe Chen
|
069f1ed9a4
|
db: migrate `admin.go` to `notices.go` with GORM (#7536)
|
2023-08-23 00:15:30 -04:00 |
Joe Chen
|
0721ef2399
|
refactor(db): migrate off `user_email.go` to `users.go` (#7452)
|
2023-05-14 20:15:47 -04:00 |
Joe Chen
|
c53a1998c5
|
all: replace `interface{}` with `any` (#7330)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
|
2023-02-02 21:25:25 +08:00 |
Joe Chen
|
b1fefcbe50
|
refactor(db): migrate `Follow` off `user.go` (#7203)
|
2022-10-23 16:17:53 +08:00 |
Joe Chen
|
083c3ee659
|
db: refactor "action" table to use GORM (#7054)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
|
2022-06-25 18:07:39 +08:00 |
Joe Chen
|
b772603d78
|
migrations: add tests and remove XORM (#7050)
|
2022-06-12 14:15:01 +08:00 |
Joe Chen
|
75fbb82440
|
db: use `context` for backup and restore (#7044)
|
2022-06-11 11:10:25 +08:00 |
E99p1ant
|
a328e7ccc4
|
access_token: encrypt access token with SHA256 (#7008)
* access_token: encrypt access token with SHA256
* revert list access token
* fix lint
* generate schemadoc
* add database migrations
* fix tests
* fix tests
* add test case for access token golden
* fix test in postgres
* `Sha256` -> `SHA256`
* Use GORM for migration
* task generate-schemadoc
* Use unique
* change migration name
* allow read
* task generate-schemadoc
* add changelog
* fix lint error
* update changelog
* remove Debug
* add comments
Co-authored-by: Joe Chen <jc@unknwon.io>
|
2022-06-05 13:34:21 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
2eaf1d693a
|
db: migrate access table to use GORM (#6371)
|
2020-10-06 15:43:28 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
3af91d7cfd
|
auth: decouple types and functions from db (#6320)
|
2020-09-20 11:19:02 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
06193ed825
|
schemadoc: add go:generate to output database schema (#6310)
* schemadoc: add go:generate to output database schema
* Check errors
* Revert string renames
|
2020-09-06 17:02:25 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
519e59b577
|
db: migrate to GORM v2 (#6309)
|
2020-09-06 10:11:08 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
9bb218734c
|
db: use GORM to backup and restore non-legacy tables (#6142)
|
2020-05-04 16:25:57 +08:00 |