-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a CLI option to ignore detected schema diffs (#111)
This PR adds an `--ignore-schema-diff` CLI option to the `chainweb-data` binary that makes it keep going even if it encounters a different schema in the database. This option is useful for `chainweb-data` operators that would like to make ad-hoc additions to their CW-D database. Though it should probably be mentioned that making such ad-hoc changes, especially directly on the tables populated and queried by `chainweb-data` isn't officially supported since an arbitrarily different schema might cause CW-D to break in unpredictable ways. * Add a CLI option to ignore detected schema diffs * fix: invert values for `DontMigrate`. Define long flag without dashes (#113) Co-authored-by: Albert G <[email protected]>
- Loading branch information
Showing
2 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters