From 87fb99f208796241c01dbd77a6ba8902bc93a071 Mon Sep 17 00:00:00 2001 From: Magdalena Banasiak Date: Tue, 14 Mar 2017 09:34:10 +0100 Subject: [PATCH] Add instructions about migrations to UPGRADE.md --- UPGRADE.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/UPGRADE.md b/UPGRADE.md index 885965f022..6c5a1ac7ff 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -482,6 +482,15 @@ fos_rest: - { path: "^/api", role: ROLE_API_ACCESS } - { path: "^/(?!admin|api)[^/]++/account", role: ROLE_USER } ``` +### Database Migrations + +Check if the Sylius migrations are in your `app/migrations` directory. If not, then add to this directory +the migrations from the `vendor/sylius/sylius/app/migrations/` directory. + +If you've got your own migrations here, please run the migrations carefully. The doctrine migrations system is comparing dates of the migrations, +then if some of your migrations have the same dates as migrations in Sylius, then they may corrupt the sequence of running Sylius migrations. + +In such situations we suggest running migrations one by one, instead of all at once. ### Behat