|
|
@ -9,23 +9,24 @@ using Ombi.Store.Context.MySql;
|
|
|
|
namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
{
|
|
|
|
{
|
|
|
|
[DbContext(typeof(ExternalMySqlContext))]
|
|
|
|
[DbContext(typeof(ExternalMySqlContext))]
|
|
|
|
[Migration("20201212014227_Jellyfin")]
|
|
|
|
[Migration("20210103205509_Jellyfin")]
|
|
|
|
partial class Jellyfin
|
|
|
|
partial class Jellyfin
|
|
|
|
{
|
|
|
|
{
|
|
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#pragma warning disable 612, 618
|
|
|
|
#pragma warning disable 612, 618
|
|
|
|
modelBuilder
|
|
|
|
modelBuilder
|
|
|
|
|
|
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 64)
|
|
|
|
.HasAnnotation("ProductVersion", "5.0.1");
|
|
|
|
.HasAnnotation("ProductVersion", "5.0.1");
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Ombi.Store.Entities.CouchPotatoCache", b =>
|
|
|
|
modelBuilder.Entity("Ombi.Store.Entities.CouchPotatoCache", b =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
b.Property<int>("Id")
|
|
|
|
b.Property<int>("Id")
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("TheMovieDbId")
|
|
|
|
b.Property<int>("TheMovieDbId")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
@ -36,35 +37,35 @@ namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
{
|
|
|
|
{
|
|
|
|
b.Property<int>("Id")
|
|
|
|
b.Property<int>("Id")
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("AddedAt")
|
|
|
|
b.Property<DateTime>("AddedAt")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("EmbyId")
|
|
|
|
b.Property<string>("EmbyId")
|
|
|
|
.IsRequired()
|
|
|
|
.IsRequired()
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("varchar(255)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ImdbId")
|
|
|
|
b.Property<string>("ImdbId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ProviderId")
|
|
|
|
b.Property<string>("ProviderId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("TheMovieDbId")
|
|
|
|
b.Property<string>("TheMovieDbId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
b.Property<string>("Title")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("TvDbId")
|
|
|
|
b.Property<string>("TvDbId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Type")
|
|
|
|
b.Property<int>("Type")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Url")
|
|
|
|
b.Property<string>("Url")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
@ -75,37 +76,37 @@ namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
{
|
|
|
|
{
|
|
|
|
b.Property<int>("Id")
|
|
|
|
b.Property<int>("Id")
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("AddedAt")
|
|
|
|
b.Property<DateTime>("AddedAt")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("EmbyId")
|
|
|
|
b.Property<string>("EmbyId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("EpisodeNumber")
|
|
|
|
b.Property<int>("EpisodeNumber")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ImdbId")
|
|
|
|
b.Property<string>("ImdbId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ParentId")
|
|
|
|
b.Property<string>("ParentId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("varchar(255)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ProviderId")
|
|
|
|
b.Property<string>("ProviderId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("SeasonNumber")
|
|
|
|
b.Property<int>("SeasonNumber")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("TheMovieDbId")
|
|
|
|
b.Property<string>("TheMovieDbId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
b.Property<string>("Title")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("TvDbId")
|
|
|
|
b.Property<string>("TvDbId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
@ -118,35 +119,35 @@ namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
{
|
|
|
|
{
|
|
|
|
b.Property<int>("Id")
|
|
|
|
b.Property<int>("Id")
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("AddedAt")
|
|
|
|
b.Property<DateTime>("AddedAt")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ImdbId")
|
|
|
|
b.Property<string>("ImdbId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("JellyfinId")
|
|
|
|
b.Property<string>("JellyfinId")
|
|
|
|
.IsRequired()
|
|
|
|
.IsRequired()
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("varchar(255)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ProviderId")
|
|
|
|
b.Property<string>("ProviderId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("TheMovieDbId")
|
|
|
|
b.Property<string>("TheMovieDbId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
b.Property<string>("Title")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("TvDbId")
|
|
|
|
b.Property<string>("TvDbId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Type")
|
|
|
|
b.Property<int>("Type")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Url")
|
|
|
|
b.Property<string>("Url")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
@ -157,37 +158,37 @@ namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
{
|
|
|
|
{
|
|
|
|
b.Property<int>("Id")
|
|
|
|
b.Property<int>("Id")
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("AddedAt")
|
|
|
|
b.Property<DateTime>("AddedAt")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("EpisodeNumber")
|
|
|
|
b.Property<int>("EpisodeNumber")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ImdbId")
|
|
|
|
b.Property<string>("ImdbId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("JellyfinId")
|
|
|
|
b.Property<string>("JellyfinId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ParentId")
|
|
|
|
b.Property<string>("ParentId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("varchar(255)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ProviderId")
|
|
|
|
b.Property<string>("ProviderId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("SeasonNumber")
|
|
|
|
b.Property<int>("SeasonNumber")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("TheMovieDbId")
|
|
|
|
b.Property<string>("TheMovieDbId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
b.Property<string>("Title")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("TvDbId")
|
|
|
|
b.Property<string>("TvDbId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
@ -200,31 +201,31 @@ namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
{
|
|
|
|
{
|
|
|
|
b.Property<int>("Id")
|
|
|
|
b.Property<int>("Id")
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("AddedAt")
|
|
|
|
b.Property<DateTime>("AddedAt")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ArtistId")
|
|
|
|
b.Property<int>("ArtistId")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ForeignAlbumId")
|
|
|
|
b.Property<string>("ForeignAlbumId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Monitored")
|
|
|
|
b.Property<bool>("Monitored")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("tinyint(1)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("PercentOfTracks")
|
|
|
|
b.Property<decimal>("PercentOfTracks")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("decimal(65,30)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("ReleaseDate")
|
|
|
|
b.Property<DateTime>("ReleaseDate")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
b.Property<string>("Title")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("TrackCount")
|
|
|
|
b.Property<int>("TrackCount")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
@ -235,19 +236,19 @@ namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
{
|
|
|
|
{
|
|
|
|
b.Property<int>("Id")
|
|
|
|
b.Property<int>("Id")
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ArtistId")
|
|
|
|
b.Property<int>("ArtistId")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ArtistName")
|
|
|
|
b.Property<string>("ArtistName")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ForeignArtistId")
|
|
|
|
b.Property<string>("ForeignArtistId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("Monitored")
|
|
|
|
b.Property<bool>("Monitored")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("tinyint(1)");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
@ -258,25 +259,25 @@ namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
{
|
|
|
|
{
|
|
|
|
b.Property<int>("Id")
|
|
|
|
b.Property<int>("Id")
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("EpisodeNumber")
|
|
|
|
b.Property<int>("EpisodeNumber")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("GrandparentKey")
|
|
|
|
b.Property<int>("GrandparentKey")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Key")
|
|
|
|
b.Property<int>("Key")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ParentKey")
|
|
|
|
b.Property<int>("ParentKey")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("SeasonNumber")
|
|
|
|
b.Property<int>("SeasonNumber")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
b.Property<string>("Title")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
@ -289,22 +290,22 @@ namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
{
|
|
|
|
{
|
|
|
|
b.Property<int>("Id")
|
|
|
|
b.Property<int>("Id")
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ParentKey")
|
|
|
|
b.Property<int>("ParentKey")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("PlexContentId")
|
|
|
|
b.Property<int>("PlexContentId")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("PlexServerContentId")
|
|
|
|
b.Property<int?>("PlexServerContentId")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("SeasonKey")
|
|
|
|
b.Property<int>("SeasonKey")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("SeasonNumber")
|
|
|
|
b.Property<int>("SeasonNumber")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
@ -317,40 +318,40 @@ namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
{
|
|
|
|
{
|
|
|
|
b.Property<int>("Id")
|
|
|
|
b.Property<int>("Id")
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("AddedAt")
|
|
|
|
b.Property<DateTime>("AddedAt")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("datetime(6)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ImdbId")
|
|
|
|
b.Property<string>("ImdbId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Key")
|
|
|
|
b.Property<int>("Key")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Quality")
|
|
|
|
b.Property<string>("Quality")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ReleaseYear")
|
|
|
|
b.Property<string>("ReleaseYear")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("RequestId")
|
|
|
|
b.Property<int?>("RequestId")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("TheMovieDbId")
|
|
|
|
b.Property<string>("TheMovieDbId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
b.Property<string>("Title")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("TvDbId")
|
|
|
|
b.Property<string>("TvDbId")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Type")
|
|
|
|
b.Property<int>("Type")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Url")
|
|
|
|
b.Property<string>("Url")
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
.HasColumnType("longtext");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
@ -361,13 +362,13 @@ namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
{
|
|
|
|
{
|
|
|
|
b.Property<int>("Id")
|
|
|
|
b.Property<int>("Id")
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("HasFile")
|
|
|
|
b.Property<bool>("HasFile")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("tinyint(1)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("TheMovieDbId")
|
|
|
|
b.Property<int>("TheMovieDbId")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
@ -378,10 +379,10 @@ namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
{
|
|
|
|
{
|
|
|
|
b.Property<int>("Id")
|
|
|
|
b.Property<int>("Id")
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("TvDbId")
|
|
|
|
b.Property<int>("TvDbId")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
@ -392,16 +393,16 @@ namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
{
|
|
|
|
{
|
|
|
|
b.Property<int>("Id")
|
|
|
|
b.Property<int>("Id")
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("EpisodeNumber")
|
|
|
|
b.Property<int>("EpisodeNumber")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("SeasonNumber")
|
|
|
|
b.Property<int>("SeasonNumber")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("TvDbId")
|
|
|
|
b.Property<int>("TvDbId")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
@ -412,10 +413,10 @@ namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
{
|
|
|
|
{
|
|
|
|
b.Property<int>("Id")
|
|
|
|
b.Property<int>("Id")
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("TvDbId")
|
|
|
|
b.Property<int>("TvDbId")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
@ -426,19 +427,19 @@ namespace Ombi.Store.Migrations.ExternalMySql
|
|
|
|
{
|
|
|
|
{
|
|
|
|
b.Property<int>("Id")
|
|
|
|
b.Property<int>("Id")
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("EpisodeNumber")
|
|
|
|
b.Property<int>("EpisodeNumber")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("HasFile")
|
|
|
|
b.Property<bool>("HasFile")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("tinyint(1)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("SeasonNumber")
|
|
|
|
b.Property<int>("SeasonNumber")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("TvDbId")
|
|
|
|
b.Property<int>("TvDbId")
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|