diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2023-03-14 19:49:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 19:49:59 +0800 |
commit | c492e8631251a91714eec4ea7f7334110909aef2 (patch) | |
tree | 921d76de96b54e5bc73b37175aeeff0d068aeaa8 /models | |
parent | ac8d71ff07a3354a27d6a5daab45d1e79e242269 (diff) | |
download | gitea-c492e8631251a91714eec4ea7f7334110909aef2.tar.gz gitea-c492e8631251a91714eec4ea7f7334110909aef2.zip |
Remove wrongly added column on migration test fixtures (#23456)
Fix https://drone.gitea.io/go-gitea/gitea/69418/3/8
Migration fixtures are in `models/migrations/fixtures`, every folder
will be used only by the test with the same name.
For `Test_DeleteOrphanedIssueLabels`, the fixture should keep consistent
as the database structure at that time. So the newly added `exclusive`
is not right. Just revert the change in
https://github.com/go-gitea/gitea/pull/22585/files#diff-f8db9cbbaa10bf7b27eb726884454db821a4b4f8cb9a0d50435555908761bbcb
Diffstat (limited to 'models')
-rw-r--r-- | models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/label.yml | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/label.yml b/models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/label.yml index 085b7f0882..d651c87d5b 100644 --- a/models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/label.yml +++ b/models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/label.yml @@ -4,7 +4,6 @@ org_id: 0 name: label1 color: '#abcdef' - exclusive: false num_issues: 2 num_closed_issues: 0 @@ -14,7 +13,6 @@ org_id: 0 name: label2 color: '#000000' - exclusive: false num_issues: 1 num_closed_issues: 1 - @@ -23,7 +21,6 @@ org_id: 3 name: orglabel3 color: '#abcdef' - exclusive: false num_issues: 0 num_closed_issues: 0 @@ -33,7 +30,6 @@ org_id: 3 name: orglabel4 color: '#000000' - exclusive: false num_issues: 1 num_closed_issues: 0 @@ -43,6 +39,5 @@ org_id: 0 name: pull-test-label color: '#000000' - exclusive: false num_issues: 0 num_closed_issues: 0 |