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/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>
2 years ago
..
base Replace fmt.Sprintf with hex.EncodeToString (#21960) 2 years ago
fixtures Move migration test fixtures to the correct directories (#21901) 2 years ago
v1_6 Update go dev dependencies (#22064) 2 years ago
v1_7 Update go dev dependencies (#22064) 2 years ago
v1_8 Update go dev dependencies (#22064) 2 years ago
v1_9 Update go dev dependencies (#22064) 2 years ago
v1_10 Add API management for issue/pull and comment attachments (#21783) 2 years ago
v1_11 Implement FSFE REUSE for golang files (#21840) 2 years ago
v1_12 Implement FSFE REUSE for golang files (#21840) 2 years ago
v1_13 Implement FSFE REUSE for golang files (#21840) 2 years ago
v1_14 Replace fmt.Sprintf with hex.EncodeToString (#21960) 2 years ago
v1_15 Implement FSFE REUSE for golang files (#21840) 2 years ago
v1_16 Implement FSFE REUSE for golang files (#21840) 2 years ago
v1_17 Update go dev dependencies (#22064) 2 years ago
v1_18 Update go dev dependencies (#22064) 2 years ago
v1_19 Check primary keys for all tables and drop ForeignReference (#21721) 2 years ago
migrations.go Check primary keys for all tables and drop ForeignReference (#21721) 2 years ago