Skip to content

[RFC] Migrations #3303

@michalmarcinkowski

Description

@michalmarcinkowski

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCDiscussions about potential changes or new features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions