Skip to content

Commit 4452ba7

Browse files
committed
Issue #438: Removed migration file
Signed-off-by: alexmerlin <[email protected]>
1 parent 3a0c404 commit 4452ba7

File tree

3 files changed

+13
-235
lines changed

3 files changed

+13
-235
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff 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
8697
php ./vendor/bin/doctrine-migrations migrate

src/Core/src/App/src/Migration/.gitkeep

Whitespace-only changes.

src/Core/src/App/src/Migration/Version20250407142911.php

Lines changed: 0 additions & 233 deletions
This file was deleted.

0 commit comments

Comments
 (0)