Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of migration fixes (#2604) #2677

Merged
merged 3 commits into from
Oct 9, 2017

Conversation

daviian
Copy link
Member

@daviian daviian commented Oct 8, 2017

Backport of #2604

@lafriks lafriks added this to the 1.2.0 milestone Oct 8, 2017
@daviian
Copy link
Member Author

daviian commented Oct 8, 2017

Changed migrations in this PR are exactly the same as on master branch, except for markdown vs markup usage.

@tboerger tboerger added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 8, 2017
@lunny
Copy link
Member

lunny commented Oct 9, 2017

LGTM

@tboerger tboerger added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Oct 9, 2017
daviian and others added 3 commits October 9, 2017 11:10
* v38 migration used an outdated version of RepoUnit model (go-gitea#2602)

* change repoUnit model in migration

* fix v16 migration repo_unit table

* fix lint error

* move type definition inside function

* Fix migration from Gogs

* Refactor code

* add error check

* Additiomal fixes for migrations

* Add back nil check
Signed-off-by: David Schneiderbauer <[email protected]>
Signed-off-by: David Schneiderbauer <[email protected]>
@Morlinest
Copy link
Member

LGTM

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Oct 9, 2017
@lafriks lafriks merged commit 74399f3 into go-gitea:release/v1.2 Oct 9, 2017
@daviian daviian deleted the backport/migrations branch October 9, 2017 13:09
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants