diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-07-05 17:51:23 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-05 17:51:23 -0500 |
| commit | 8551ea1930b6639007d18fdca35bfb4073b16914 (patch) | |
| tree | 2430f701f8359e602f4c16847331c588cb473cca /src/slskd/Core/Options.cs | |
| parent | 8ab0cda52fda8b7e4f0353065c6f0dc5caeeb1f1 (diff) | |
| parent | 4914c3832358218d28f977baed2ddfb1e7e92723 (diff) | |
| download | slskd-8551ea1930b6639007d18fdca35bfb4073b16914.tar.gz | |
Merge branch 'master' into dependabot/npm_and_yarn/src/web/http-proxy-middleware-2.0.9
Diffstat (limited to 'src/slskd/Core/Options.cs')
| -rw-r--r-- | src/slskd/Core/Options.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index cc662444..1fed70f5 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -392,6 +392,14 @@ namespace slskd public bool ForceShareScan { get; init; } = false; /// <summary> + /// Gets a value indicating whether to force database migrations to be applied on startup. + /// </summary> + [Argument(default, "force-migrations")] + [EnvironmentVariable("FORCE_MIGRATIONS")] + [Description("force database migrations to be applied on startup")] + public bool ForceMigrations { get; init; } = false; + + /// <summary> /// Gets a value indicating whether the application should check for a newer version on startup. /// </summary> [Argument(default, "no-version-check")] |
