Add migration count check #27
No reviewers
Labels
No Label
breaking
bug
build
duplicate
enhancement
feature
help wanted
invalid
question
skip-changelog
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/gitea-vet#27
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "yp05327/gitea-vet:add-migration-count-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add checks for no matching of migration functions count and the length of
migrations
defined inmigrations.go
For example, for
v284 -> v285
remove line 556:
run
make lint-go-vet
:I don't think it's right. You need to count the files not the packages.I don't understand. I count
GoFiles
in the packages.