Fixed: Failing database migration of metadata files without extensions

This commit is contained in:
Mark McDowall
2016-10-28 13:04:22 -07:00
parent 2ece05cd1e
commit 5f2aeb0cea
3 changed files with 14 additions and 2 deletions
@@ -33,6 +33,15 @@ namespace NzbDrone.Core.Test.Datastore.Migration
Type = 5,
Consumer = "XbmcMetadata"
});
c.Insert.IntoTable("MetadataFiles").Row(new
{
SeriesId = 1,
RelativePath = "Series Title",
LastUpdated = "2016-05-30 20:23:02.3725923",
Type = 3,
Consumer = "RoksboxMetadata"
});
});
var items = db.Query<MetadataFile99>("SELECT * FROM MetadataFiles");