mirror of
https://github.com/Lidarr/Lidarr.git
synced 2026-02-11 00:08:31 -06:00
New: Drop commands table content before postgres migration
Signed-off-by: Stevie Robinson <stevie.robinson@gmail.com> (cherry picked from commit 8dd3b45c90209136c0bd0a861061c6d20837d62f) Closes #4475
This commit is contained in:
@@ -8,6 +8,8 @@ namespace NzbDrone.Core.Datastore.Migration
|
||||
{
|
||||
protected override void MainDbUpgrade()
|
||||
{
|
||||
Delete.FromTable("Commands").AllRows();
|
||||
|
||||
Alter.Table("AlbumReleases").AlterColumn("ReleaseDate").AsDateTimeOffset().Nullable();
|
||||
Alter.Table("Albums").AlterColumn("LastInfoSync").AsDateTimeOffset().Nullable();
|
||||
Alter.Table("Albums").AlterColumn("ReleaseDate").AsDateTimeOffset().Nullable();
|
||||
|
||||
Reference in New Issue
Block a user