Commit Graph

25 Commits (v1.19.2-0)

Author SHA1 Message Date
Jason Song 71ca3067bc
Check primary keys for all tables and drop ForeignReference () 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files () 2 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context () 2 years ago
KN4CK3R 0e57ff7eee
Add generic set type () 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages () 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues () 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ () 3 years ago
Aravinth Manivannan fa73cbf5a7
Store the foreign ID of issues during migration () 3 years ago
singuliere 3a91f845e8
remove redundant call to UpdateRepoStats during migration () 3 years ago
Aravinth Manivannan 076cead40d
Fix CheckRepoStats and reuse it during migration () 3 years ago
Aravinth Manivannan ade41f3f04
tests: add coverage for models migration helpers () 3 years ago
Lunny Xiao 9defddb286
Move more model into models/user () 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface () 3 years ago
zeripath 9302eba971
DBContext is just a Context () 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db () 3 years ago
Lunny Xiao 1fc1d60517
Fix delete nonexist oauth application 500 and prevent deadlock () 4 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. () 4 years ago
6543 12960b9d18
[BugFix] remove nil inserts in models () 5 years ago
Lunny Xiao ce0413ff88
Fix migration information update bug when linked github account () 5 years ago
Lunny Xiao f6067a8465 Migrate reviews when migrating repository from github () 5 years ago
Lunny Xiao 2b3e931cde Migrate reactions when migrating repository from github () 5 years ago
Lunny Xiao d151503d34 Upgrade xorm to v0.8.0 () 5 years ago
Lauris BH 6c0c5c5310
Fix milestone completness calculation when migrating () 6 years ago
Lunny Xiao 462284e2f5
Use batch insert on migrating repository to make the process faster () 6 years ago
Lunny Xiao 08069dc465
Improve migrations to support migrating milestones/labels/issues/comments/pullrequests () 6 years ago