mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-02-08 17:06:38 +00:00
Fixed Postgres Timezone Issues (part 2)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using FluentMigrator;
|
||||
using NzbDrone.Core.Datastore.Migration.Framework;
|
||||
|
||||
namespace NzbDrone.Core.Datastore.Migration
|
||||
{
|
||||
[Migration(032)]
|
||||
public class postgres_update_timestamp_columns_to_with_timezone_part2 : NzbDroneMigrationBase
|
||||
{
|
||||
protected override void MainDbUpgrade()
|
||||
{
|
||||
Alter.Table("DownloadHistory").AlterColumn("Date").AsDateTimeOffset().Nullable();
|
||||
Alter.Table("ImportListStatus").AlterColumn("LastInfoSync").AsDateTimeOffset().Nullable();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user