Skip to content

Commit

Permalink
Merge pull request #56 from jaroslavtyc/patch-1
Browse files Browse the repository at this point in the history
Update README.md section about Doctrine migrations
  • Loading branch information
maximehuran authored Jan 23, 2024
2 parents 53960b0 + b106440 commit 5dbd82f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,19 @@ monsieurbiz_cms_page_shop:

### Migrations

Make a doctrine migration diff :
First, please run legacy-versioned migrations by using command :

```bash
bin/console doctrine:migrations:migrate
```

After migration, please create a new diff migration :

```php
bin/console doctrine:migrations:diff
```

Then run it :
Then run it (if any) :

```php
bin/console doctrine:migrations:migrate
Expand Down

0 comments on commit 5dbd82f

Please sign in to comment.