From 41f56ad05d12520bb90f91889fa979465d0b3d6b Mon Sep 17 00:00:00 2001 From: ᴜɴᴋɴᴡᴏɴ Date: Sat, 11 Apr 2020 20:18:05 +0800 Subject: 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 --- internal/route/install.go | 1 - 1 file changed, 1 deletion(-) (limited to 'internal/route/install.go') diff --git a/internal/route/install.go b/internal/route/install.go index fbb605f0..5bbf943a 100644 --- a/internal/route/install.go +++ b/internal/route/install.go @@ -76,7 +76,6 @@ func GlobalInit(customConf string) error { } db.HasEngine = true - db.LoadAuthSources() db.LoadRepoConfig() db.NewRepoContext() -- cgit v1.2.3