From 8a6bb7375e4f0dd3e6c5281eca3ad83f425ff0fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Kukli=C5=84ski?= Date: Sun, 16 Jun 2024 18:11:54 +0200 Subject: [PATCH] Update installation.md - add note and extra command for database update in installation.md --- doc/installation.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/installation.md b/doc/installation.md index 4d1ac2c05..842b00618 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -95,9 +95,14 @@ you will probably need to change the extension of the imported file in 5. Finish the installation by updating the database schema and installing assets: -``` +```bash $ bin/console cache:clear + +# If you used migrations in your project... $ bin/console doctrine:migrations:migrate +# ... or if you use doctrine schema tool. +$ bin/cosole doctrine:schema:update --dump-sql # and --force switch when you're ready :) + $ bin/console assets:install --symlink $ bin/console sylius:theme:assets:install --symlink ```