mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
Add refresh all to migration 177 for v0.2 migrations
This commit is contained in:
parent
46ff3b7538
commit
23a8b68869
@ -59,6 +59,15 @@ protected override void MainDbUpgrade()
|
||||
|
||||
Execute.WithConnection(FixLanguagesMoveFile);
|
||||
Execute.WithConnection(FixLanguagesHistory);
|
||||
|
||||
//Force refresh all movies in library
|
||||
Update.Table("ScheduledTasks")
|
||||
.Set(new { LastExecution = "2014-01-01 00:00:00" })
|
||||
.Where(new { TypeName = "NzbDrone.Core.Movies.Commands.RefreshMovieCommand" });
|
||||
|
||||
Update.Table("Movies")
|
||||
.Set(new { LastInfoSync = "2014-01-01 00:00:00" })
|
||||
.AllRows();
|
||||
}
|
||||
|
||||
private void FixLanguagesMoveFile(IDbConnection conn, IDbTransaction tran)
|
||||
|
Loading…
Reference in New Issue
Block a user