Skip to content

Commit

Permalink
NGGW-40 Use doctrine schema update instead of SQL file for migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
RandyCupic committed Mar 7, 2023
1 parent c547c91 commit 9f3248c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 4 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ Above shown are the default used parameters. For more information about creating
## Import database tables
This bundle stores used resources in a separate table in the database. Use the following command to add the tables to your database:
This bundle stores used resources in a separate table in the database. Use the following command to update your database:
```
mysql -u<user> -p<password> -h<host> <db_name> < vendor/netgen/layouts-remote-media/bundle/Resources/sql/mysql/schema.sql
php bin/console doctrine:schema:update
```

**Note:** Use the command with `--dump-sql` first to check that it will do only modifications related to this bundle, and then use it with parameter `--force` to do the actual changes.
2 changes: 0 additions & 2 deletions bundle/Resources/sql/mysql/schema.sql

This file was deleted.

0 comments on commit 9f3248c

Please sign in to comment.