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
This command updates all outdated migration files in the selected migrations folder.
12
+
The `pgroll update`command updates migration files to the latest file format; use it when a new version of `pgroll` contains breaking changes to the migration file JSON/YAML schema.
13
13
14
-
The optional `--json` flag can be used to write migration files in JSON.
14
+
The optional `--json` flag can be used to write migration files in JSON format instead of YAML.
15
15
16
-
### Example for updating migrations in the folder `migrations`
16
+
<Warning>
17
+
`pgroll` hasn't reached v1 yet, so we are releasing breaking changes from time to time. Adopting these changes can be painful manually. We suggest you use `pgroll update` to make sure all your local migrations are correct.
18
+
</Warning>
19
+
20
+
### Example for updating migrations in the `migrations` folder
21
+
22
+
Update all migrations in the `migrations/` folder:
0 commit comments