File tree Expand file tree Collapse file tree 3 files changed +13
-235
lines changed
src/Core/src/App/src/Migration Expand file tree Collapse file tree 3 files changed +13
-235
lines changed Original file line number Diff line number Diff line change @@ -77,10 +77,21 @@ Use an existing empty one or create a new **MariaDB**/**MySQL** database.
7777
7878> Recommended collation: ` utf8mb4_general_ci ` .
7979
80+ With a database created, fill out the database connection params in ` config/autoload/local.php ` under ` $databases['default'] ` .
81+
82+ #### Creating migrations
83+
84+ Create a new migration by running:
85+
86+ ``` shell
87+ php ./vendor/bin/doctrine-migrations diff
88+ ```
89+
90+ The new migration file will be placed in ` src/Core/src/App/src/Migration/ ` .
91+
8092#### Running migrations
8193
82- * fill out the database connection params in ` config/autoload/local.php ` under ` $databases['default'] `
83- * run the database migrations by using the following command:
94+ Execute a new migration by running:
8495
8596``` shell
8697php ./vendor/bin/doctrine-migrations migrate
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments