This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/models/migrations
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>
2022-12-23 19:35:43 +08:00
..
base Replace fmt.Sprintf with hex.EncodeToString (#21960) 2022-11-28 11:19:18 +00:00
fixtures
v1_6 Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v1_7 Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v1_8 Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v1_9 Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v1_10 Add API management for issue/pull and comment attachments (#21783) 2022-12-09 14:35:56 +08:00
v1_11
v1_12
v1_13
v1_14 Replace fmt.Sprintf with hex.EncodeToString (#21960) 2022-11-28 11:19:18 +00:00
v1_15
v1_16
v1_17 Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v1_18 Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v1_19 Check primary keys for all tables and drop ForeignReference (#21721) 2022-12-23 19:35:43 +08:00
migrations.go Check primary keys for all tables and drop ForeignReference (#21721) 2022-12-23 19:35:43 +08:00