Skip to content

Commit f46355c

Browse files
authored
Merge pull request #383 from dotkernel/issue-382
Issue #382: Removed migration file
2 parents cd97ff3 + a87f425 commit f46355c

File tree

3 files changed

+14
-236
lines changed

3 files changed

+14
-236
lines changed

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff 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
103114
This command will prompt you to confirm that you want to run it:

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)