Skip to content

Commit 171fe6d

Browse files
committed
Update README
1 parent 0d2dcd8 commit 171fe6d

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ https://docs.phalcon.io/latest/en/db-migrations
1414
## Requirements
1515

1616
* PHP >= 7.2
17-
* Phalcon >= 4.0.0
17+
* Phalcon >= 4.0.5
1818
* PHP ext-posix (Linux)
1919

2020
## Installing via Composer
@@ -52,7 +52,7 @@ return new Config([
5252
'application' => [
5353
'logInDb' => true,
5454
'migrationsDir' => 'db/migrations',
55-
'migrationsTsBased' => true, // true - Use TIMESTAMP as version name, false - use versions (1.0.1)
55+
'migrationsTsBased' => true, // true - Use TIMESTAMP as version name, false - use versions
5656
'exportDataFromTables' => [
5757
// Tables names
5858
// Attention! It will export data every new migration
@@ -64,11 +64,17 @@ return new Config([
6464
### Generate migrations
6565

6666
```
67-
vendor/bin/phalcon-migrations migration generate
67+
vendor/bin/phalcon-migrations generate
6868
```
6969

70-
### Run Migrations
70+
### Run migrations
7171

7272
```
73-
vendor/bin/phalcon-migrations migration run
74-
```
73+
vendor/bin/phalcon-migrations run
74+
```
75+
76+
### List existing migrations
77+
78+
```
79+
vendor/bin/phalcon-migrations list
80+
```

0 commit comments

Comments
 (0)