File tree 1 file changed +12
-6
lines changed
1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ https://docs.phalcon.io/latest/en/db-migrations
14
14
## Requirements
15
15
16
16
* PHP >= 7.2
17
- * Phalcon >= 4.0.0
17
+ * Phalcon >= 4.0.5
18
18
* PHP ext-posix (Linux)
19
19
20
20
## Installing via Composer
@@ -52,7 +52,7 @@ return new Config([
52
52
'application' => [
53
53
'logInDb' => true,
54
54
'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
56
56
'exportDataFromTables' => [
57
57
// Tables names
58
58
// Attention! It will export data every new migration
@@ -64,11 +64,17 @@ return new Config([
64
64
### Generate migrations
65
65
66
66
```
67
- vendor/bin/phalcon-migrations migration generate
67
+ vendor/bin/phalcon-migrations generate
68
68
```
69
69
70
- ### Run Migrations
70
+ ### Run migrations
71
71
72
72
```
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
+ ```
You can’t perform that action at this time.
0 commit comments