Skip to content

Commit 8fbc00d

Browse files
authored
Merge pull request #55 from BitBagCommerce/fix/manual-migrations
Update installation guide to include database migration step
2 parents a8b45e2 + b703fcc commit 8fbc00d

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

doc/installation.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,21 @@
5858
```
5959
6060
>`UserComApiAwareTrait` contains mapping for annotations and for attributes which are required by UserCom integration. If you're using xml mapping, you should add mapping for those properties in your `Channel.orm.xml` file.
61-
62-
7. Compile assets
61+
62+
7. Database migrations
63+
```bash
64+
bin/console doctrine:migrations:diff
65+
bin/console doctrine:migrations:migrate
66+
```
67+
68+
8. Compile assets
6369
```bash
6470
yarn install && yarn build
6571
```
66-
8. Add API credentials and GTM to your channel configuration in admin panel. If you decided to extend different object, please make sure that API credentials are set.
72+
9. Add API credentials and GTM to your channel configuration in admin panel. If you decided to extend different object, please make sure that API credentials are set.
6773
![Channel configuration](../doc/user_com_configuration.png)
6874
69-
9. Configure consumer to run in supervisor:
75+
10. Configure consumer to run in supervisor:
7076
```bash
7177
bin/console messenger:consume user_com_asynchronous
7278
```

0 commit comments

Comments
 (0)