Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update --isuptodate documentation #584

Merged
merged 1 commit into from
Jan 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/ConfigurationOptions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@ grate --connectionstring="Server=(localdb)\MSSQLLocalDB;Integrated Security=true
| -ni<br>--noninteractive<br>--silent | false | **Silent** - tells grate not to ask for any input when it runs.
| -r<br>--repo<br>--repositorypath <repositorypath> | - | **Repository Path** - RepositoryPath - The repository. A string that can be anything. Used to track versioning along with the version. Defaults to `null`. |
| --version <version> | 1.0.0.0 | **Database Version** - specify the version of the current migration directly on the command line. |
| --isuptodate<br>--uptodatecheck | - | Outputs whether the database is up to date or not (whether any non-everytime scripts would be run) |
| -v<br>--verbosity &lt;Critical\|<br>Debug\|<br>Error\|<br>Information\|<br>None\|<br>Trace\|Warning&gt; | Information | **Verbosity level** (as defined here: https://docs.microsoft.com/dotnet/api/Microsoft.Extensions.Logging.LogLevel)
| -?<br>-h<br>--help | - | Show help and usage information |
1 change: 0 additions & 1 deletion docs/MigratingFromRoundhousE.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ Rebuilding a decade old product from scratch takes time, and features have to be
Expect this list to shrink over time.

- `--defaultencoding`
- `--isuptodate`
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One down here <3

- MSBuild Task.
- Multiple Environments per run. Scripts can target multiple environments (`blah.env.test.uat.sql`), but each migration can only target a single environment. If this is a limiting factor for you please raise an issue to discuss.
- Recovery Modes (`--simple`, `--recoverymode` etc). A `runAfterCreateDatabase` script using `alter {{DatabaseName}} ...` may work for you in the meantime.
Expand Down