You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can provide an asterisk as a part of table name to use all tables matching the pattern:
90
90
91
91
```
92
-
php yii migration/update prefix_*
92
+
php yii migration/update "prefix_*"
93
93
```
94
94
95
95
Creating multiple table migrations at once forces the proper migration order based on the presence of the foreign keys.
@@ -118,8 +118,9 @@ You can easily generate updating migration for database table by comparing its c
118
118
| `skipMigrations` | | List of migrations from the history table that should be skipped during the update process (see [2] below).
119
119
| `excludeTables` | | List of tables that should be skipped.
120
120
| `experimental` | `ex` | Whether to run in experimental mode (see [3] below).
121
-
| `fileMode` | `fm` | **New in 4.2.0** - Generated file mode to be changed using `chmod`.
122
-
| `fileOwnership` | `fo` | **New in 4.2.0** - Generated file ownership to be changed using `chown`/`chgrp`.
121
+
| `fileMode` | `fm` | Generated file mode to be changed using `chmod`.
122
+
| `fileOwnership` | `fo` | Generated file ownership to be changed using `chown`/`chgrp`.
123
+
| `leeway` | `lw` | **New in 4.3.0** - The leeway in seconds to apply to a starting timestamp when generating migration, so it can be saved with a later date
123
124
124
125
[1] Remember that with different database types general column schemas may be generated with different length.
0 commit comments