-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[RFC] Migrations #3303
Copy link
Copy link
Closed
Labels
RFCDiscussions about potential changes or new features.Discussions about potential changes or new features.
Description
Issue
Right now we don't run migrations on CI, so we don't validate if migrations work or even exist. Let's be honest they are not handled properly right now.
Solution
I suggest removing all existing migrations and generate first migration that will build the v0.15 database schema and do app/console do:mig:mig instead of app/console do:sc:cr on travis. Thanks to that we can validate that migrations work and there is nothing missing.
Enhancement
We can create sylius:migrate command which will run all migrations from /vendor/sylius/sylius/app/migrations/ to ease Sylius update on existing projects (e.g. using Sylius-Standard).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
RFCDiscussions about potential changes or new features.Discussions about potential changes or new features.