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

[Migration] add note for migration to v2 of propel migration #344

Open
marcj opened this issue Dec 19, 2014 · 0 comments
Open

[Migration] add note for migration to v2 of propel migration #344

marcj opened this issue Dec 19, 2014 · 0 comments

Comments

@marcj
Copy link
Member

marcj commented Dec 19, 2014

v1 dealt with migration in the way that it only stored the latest executed migration timestamp. In v2 we introduced parallel migrations which stores basically every executed migration in our migration table.

If a project now switches from v1 to v2, you have to mark all your migration files as already executed using the new introduced migration option --fake, otherwise the new migration would execute all migrations again (which results in most of the cases in fatal errors, in a corrupt database, or invalid content). We should add a note regarding this issue in our Whats-New page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant