gitea/models/fixtures
Jason Song 71ca3067bc
Check primary keys for all tables and drop ForeignReference ()
Some dbs require that all tables have primary keys, see
- 
- 

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 .

More context can be found in comments.

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: zeripath <art27@cantab.net>
..
access.yml Fix user visible check ()
access_token.yml Hash App token ()
action.yml GetFeeds must always discard actions with dangling repo_id ()
attachment.yml Add some api integration tests ()
collaboration.yml Fix "access" fixtures and tests ()
comment.yml [API] Add "before" query to ListIssueComments and ListRepoIssue… ()
commit_status.yml Status-API ()
commit_status_index.yml Fix commit status index problem ()
deleted_branch.yml Add deleted_branch table fixture ()
deploy_key.yml Writable deploy keys (closes ) ()
email_address.yml Always store primary email address into email_address table and also the state ()
external_login_user.yml add test coverage for original author conversion during migrations ()
follow.yml Fix user visible check ()
gpg_key.yml Add missing fixture to clean gpg_key table ()
gpg_key_import.yml add .gpg url (match github behaviour) ()
hook_task.yml Decouple HookTask from Repository ()
issue.yml Add some api integration tests ()
issue_assignees.yml Fix issue overview for teams ()
issue_index.yml Fix issue overview for teams ()
issue_label.yml Add Organization Wide Labels ()
issue_user.yml [API] ListIssues add more filters ()
issue_watch.yml Refactor Issues Subscription ()
label.yml Add some api integration tests ()
lfs_meta_object.yml Test views of LFS files ()
login_source.yml Add LDAP integration tests ()
milestone.yml Add some api integration tests ()
notice.yml Unit tests for models/admin
notification.yml [API] Add notification endpoint ()
oauth2_application.yml Record OAuth client type at registration ()
oauth2_authorization_code.yml Record OAuth client type at registration ()
oauth2_grant.yml Record OAuth client type at registration ()
org_user.yml Fix user visible check ()
project.yml Kanban board ()
project_board.yml Kanban board ()
project_issue.yml Kanban board ()
protected_branch.yml Don't recreate database in integration tests ()
public_key.yml test: command keys ()
pull_request.yml Add API endpoint to get changed files of a PR ()
reaction.yml [API] Add Reactions ()
release.yml [API] ListReleases add filter for draft and pre-releases ()
renamed_branch.yml Add a simple way to rename branch like gh ()
repo_archiver.yml Rework repository archive ()
repo_indexer_status.yml Code/repo search ()
repo_redirect.yml Unit tests for repo redirects ()
repo_topic.yml Add API endpoint for accessing repo topics ()
repo_transfer.yml Repository transfer has to be confirmed, if user can not create repo for new owner ()
repo_unit.yml Test views of LFS files ()
repository.yml Test views of LFS files ()
review.yml Add dismiss review feature ()
star.yml Unit tests for models/star ()
stopwatch.yml [API] extend StopWatch ()
system_setting.yml Add system setting table with cache and also add cache supports for user setting ()
team.yml Add some api integration tests ()
team_repo.yml Restrict permission check on repositories and fix some problems ()
team_unit.yml Fix issue overview for teams ()
team_user.yml Fix user visible check ()
topic.yml Add some api integration tests ()
tracked_time.yml [API] Extend times API ()
two_factor.yml org/members: display 2FA members states + optimize sql requests ()
user.yml Test views of LFS files ()
user_open_id.yml Show user OpenID URIs in their profile ()
user_redirect.yml Redirect on changed user and org name ()
watch.yml Auto-subscribe user to repository when they commit/tag to it ()
webauthn_credential.yml Add some api integration tests ()
webhook.yml Implement webhook branch filter ()