You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services
Jason Song 71ca3067bc
Check primary keys for all tables and drop ForeignReference (#21721)
Some dbs require that all tables have primary keys, see
- #16802
- #21086

We can add a test to keep it from being broken again.

Edit:

~Added missing primary key for `ForeignReference`~ Dropped the
`ForeignReference` table to satisfy the check, so it closes #21086.

More context can be found in comments.

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: zeripath <art27@cantab.net>
1 year ago
..
agit Rename almost all Ctx functions (#22071) 1 year ago
asymkey Implement FSFE REUSE for golang files (#21840) 1 year ago
attachment Add API management for issue/pull and comment attachments (#21783) 1 year ago
auth refactor some functions to support ctx as first parameter (#21878) 1 year ago
automerge refactor some functions to support ctx as first parameter (#21878) 1 year ago
context Implement FSFE REUSE for golang files (#21840) 1 year ago
cron Add doctor command for full GC of LFS (#21978) 1 year ago
externalaccount Implement FSFE REUSE for golang files (#21840) 1 year ago
forms Secrets storage with SecretKey encrypted (#22142) 1 year ago
gitdiff Implement FSFE REUSE for golang files (#21840) 1 year ago
issue Rename almost all Ctx functions (#22071) 1 year ago
lfs refactor some functions to support ctx as first parameter (#21878) 1 year ago
mailer refactor some functions to support ctx as first parameter (#21878) 1 year ago
markup Implement FSFE REUSE for golang files (#21840) 1 year ago
migrations Check primary keys for all tables and drop ForeignReference (#21721) 1 year ago
mirror Implement FSFE REUSE for golang files (#21840) 1 year ago
org Implement FSFE REUSE for golang files (#21840) 1 year ago
packages Update gitea-vet to check FSFE REUSE (#22004) 1 year ago
pull Add setting to disable the git apply step in test patch (#22130) 1 year ago
release Add API management for issue/pull and comment attachments (#21783) 1 year ago
repository Do not list active repositories as unadopted (#22034) 1 year ago
task Implement FSFE REUSE for golang files (#21840) 1 year ago
user Implement FSFE REUSE for golang files (#21840) 1 year ago
webhook Implement FSFE REUSE for golang files (#21840) 1 year ago
wiki Implement FSFE REUSE for golang files (#21840) 1 year ago