File tree Expand file tree Collapse file tree 3 files changed +14
-236
lines changed
src/Core/src/App/src/Migration Expand file tree Collapse file tree 3 files changed +14
-236
lines changed Original file line number Diff line number Diff line change @@ -91,13 +91,24 @@ Use an existing empty one or create a new **MariaDB**/**MySQL** database.
9191
9292> Recommended collation: `utf8mb4_general_ci`.
9393
94+ With a database created, fill out the database connection params in `config/autoload/local.php` under `$databases[' default' ]`.
95+
96+ #### Creating migrations
97+
98+ Create a new migration by running:
99+
100+ ```shell
101+ php ./vendor/bin/doctrine-migrations diff
102+ ```
103+
104+ The new migration file will be placed in `src/Core/src/App/src/Migration/`.
105+
94106#### Running migrations
95107
96- * fill out the database connection params in `config/autoload/local.php` under `$databases[' default' ]`
97- * run the database migrations by using the following command:
108+ Execute a new migration by running:
98109
99110```shell
100- php ./bin/doctrine-migrations migrate
111+ php ./vendor/ bin/doctrine-migrations migrate
101112```
102113
103114This command will prompt you to confirm that you want to run it:
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments