zvrh
|
a9be4de5a5
|
database: add PostgreSQL custom schema support (#6695)
Co-authored-by: Homura37 <git@gvip.xyz>
Co-authored-by: Homura <16538800+Homura37@users.noreply.github.com>
Co-authored-by: Joe Chen <jc@unknwon.io>
|
2022-01-05 22:02:33 +08:00 |
dependabot-preview[bot]
|
99f1b9899f
|
build(deps): bump gorm.io/gorm from 1.20.6 to 1.20.7 (#6425)
* build(deps): bump gorm.io/gorm from 1.20.6 to 1.20.7
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.20.6 to 1.20.7.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.20.6...v1.20.7)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Fix compile error
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
|
2020-11-28 02:11:11 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
2eaf1d693a
|
db: migrate access table to use GORM (#6371)
|
2020-10-06 15:43:28 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
7bc3ee49aa
|
cmd/serv: use different log files for ORMs in hook mode (#6361)
|
2020-09-29 22:26:07 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
c56db8f2c4
|
db: create new session for MySQL after changing attribute (#6338)
|
2020-09-18 18:37:47 +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 |
ᴜɴᴋɴᴡᴏɴ
|
ae107b2e6e
|
db: only use `AutoMigrate` to create new tables (#6092)
* Only use AutoMigrate to create new tables
* Revert models.go
|
2020-04-11 23:45:06 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
41f56ad05d
|
login_source: migrate to GORM and add tests (#6090)
* Use GORM in all write paths
* Migrate to GORM
* Fix lint errors
* Use GORM to init table
* dbutil: make writer detect error
* Add more tests
* Rename to clearTables
* db: finish adding tests
* osutil: add tests
* Fix load source files path
|
2020-04-11 20:18:05 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
e077ecdd9d
|
db: add tests for LFS (#6087)
* Improve DB test setup
* Discard GORM logs in non-verbose mode
* Add tests to lfs
* Fix data race
|
2020-04-11 02:56:37 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
62dda96159
|
access_token: migrate to GORM and add tests (#6086)
* access_token: migrate to GORM
* Add tests
* Fix tests
* Fix test clock
|
2020-04-11 01:25:19 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
e186a3d2c9
|
db: add tests for helper functions (#6084)
|
2020-04-10 22:51:24 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
34145c990d
|
lfs: implement HTTP routes (#6035)
* Bootstrap with GORM
* Fix lint error
* Set conn max lifetime to one minute
* Fallback to use gorm v1
* Define HTTP routes
* Finish authentication
* Save token updated
* Add docstring
* Finish authorization
* serveBatch rundown
* Define types in lfsutil
* Finish Batch
* authutil
* Finish basic
* Formalize response error
* Fix lint errors
* authutil: add tests
* dbutil: add tests
* lfsutil: add tests
* strutil: add tests
* Formalize 401 response
|
2020-04-04 21:14:15 +08:00 |