|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
using System;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
|
|
|
|
namespace Ombi.Store.Migrations
|
|
|
|
|
{
|
|
|
|
@ -9,58 +9,72 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "AspNetRoles",
|
|
|
|
|
name: "ApplicationConfiguration",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<string>(nullable: false),
|
|
|
|
|
ConcurrencyStamp = table.Column<string>(nullable: true),
|
|
|
|
|
Name = table.Column<string>(maxLength: 256, nullable: true),
|
|
|
|
|
NormalizedName = table.Column<string>(maxLength: 256, nullable: true)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
Type = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
Value = table.Column<string>(type: "TEXT", nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
|
table.PrimaryKey("PK_AspNetRoles", x => x.Id);
|
|
|
|
|
table.PrimaryKey("PK_ApplicationConfiguration", x => x.Id);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "AspNetUserTokens",
|
|
|
|
|
name: "AspNetRoles",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
UserId = table.Column<string>(nullable: false),
|
|
|
|
|
LoginProvider = table.Column<string>(nullable: false),
|
|
|
|
|
Name = table.Column<string>(nullable: false),
|
|
|
|
|
Value = table.Column<string>(nullable: true)
|
|
|
|
|
Id = table.Column<string>(type: "TEXT", nullable: false),
|
|
|
|
|
ConcurrencyStamp = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
Name = table.Column<string>(type: "TEXT", maxLength: 256, nullable: true),
|
|
|
|
|
NormalizedName = table.Column<string>(type: "TEXT", maxLength: 256, nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
|
table.PrimaryKey("PK_AspNetUserTokens", x => new { x.UserId, x.LoginProvider, x.Name });
|
|
|
|
|
table.PrimaryKey("PK_AspNetRoles", x => x.Id);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "ApplicationConfiguration",
|
|
|
|
|
name: "AspNetUsers",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
Type = table.Column<int>(nullable: false),
|
|
|
|
|
Value = table.Column<string>(nullable: true)
|
|
|
|
|
Id = table.Column<string>(type: "TEXT", nullable: false),
|
|
|
|
|
AccessFailedCount = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
Alias = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
ConcurrencyStamp = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
Email = table.Column<string>(type: "TEXT", maxLength: 256, nullable: true),
|
|
|
|
|
EmailConfirmed = table.Column<bool>(type: "INTEGER", nullable: false),
|
|
|
|
|
LockoutEnabled = table.Column<bool>(type: "INTEGER", nullable: false),
|
|
|
|
|
LockoutEnd = table.Column<DateTimeOffset>(type: "TEXT", nullable: true),
|
|
|
|
|
NormalizedEmail = table.Column<string>(type: "TEXT", maxLength: 256, nullable: true),
|
|
|
|
|
NormalizedUserName = table.Column<string>(type: "TEXT", maxLength: 256, nullable: true),
|
|
|
|
|
PasswordHash = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
PhoneNumber = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
PhoneNumberConfirmed = table.Column<bool>(type: "INTEGER", nullable: false),
|
|
|
|
|
ProviderUserId = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
SecurityStamp = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
TwoFactorEnabled = table.Column<bool>(type: "INTEGER", nullable: false),
|
|
|
|
|
UserName = table.Column<string>(type: "TEXT", maxLength: 256, nullable: true),
|
|
|
|
|
UserType = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
|
table.PrimaryKey("PK_ApplicationConfiguration", x => x.Id);
|
|
|
|
|
table.PrimaryKey("PK_AspNetUsers", x => x.Id);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "Audit",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
AuditArea = table.Column<int>(nullable: false),
|
|
|
|
|
AuditType = table.Column<int>(nullable: false),
|
|
|
|
|
DateTime = table.Column<DateTime>(nullable: false),
|
|
|
|
|
Description = table.Column<string>(nullable: true),
|
|
|
|
|
User = table.Column<string>(nullable: true)
|
|
|
|
|
AuditArea = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
AuditType = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
DateTime = table.Column<DateTime>(type: "TEXT", nullable: false),
|
|
|
|
|
Description = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
User = table.Column<string>(type: "TEXT", nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -71,27 +85,28 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
name: "EmbyContent",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
AddedAt = table.Column<DateTime>(nullable: false),
|
|
|
|
|
EmbyId = table.Column<string>(nullable: true),
|
|
|
|
|
ProviderId = table.Column<string>(nullable: true),
|
|
|
|
|
Title = table.Column<string>(nullable: true),
|
|
|
|
|
Type = table.Column<int>(nullable: false)
|
|
|
|
|
AddedAt = table.Column<DateTime>(type: "TEXT", nullable: false),
|
|
|
|
|
EmbyId = table.Column<string>(type: "TEXT", nullable: false),
|
|
|
|
|
ProviderId = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
Title = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
Type = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
|
table.PrimaryKey("PK_EmbyContent", x => x.Id);
|
|
|
|
|
table.UniqueConstraint("AK_EmbyContent_EmbyId", x => x.EmbyId);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "GlobalSettings",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
Content = table.Column<string>(nullable: true),
|
|
|
|
|
SettingsName = table.Column<string>(nullable: true)
|
|
|
|
|
Content = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
SettingsName = table.Column<string>(type: "TEXT", nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -102,60 +117,33 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
name: "NotificationTemplates",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
Agent = table.Column<int>(nullable: false),
|
|
|
|
|
Enabled = table.Column<bool>(nullable: false),
|
|
|
|
|
Message = table.Column<string>(nullable: true),
|
|
|
|
|
NotificationType = table.Column<int>(nullable: false),
|
|
|
|
|
Subject = table.Column<string>(nullable: true)
|
|
|
|
|
Agent = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
Enabled = table.Column<bool>(type: "INTEGER", nullable: false),
|
|
|
|
|
Message = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
NotificationType = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
Subject = table.Column<string>(type: "TEXT", nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
|
table.PrimaryKey("PK_NotificationTemplates", x => x.Id);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "AspNetUsers",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<string>(nullable: false),
|
|
|
|
|
AccessFailedCount = table.Column<int>(nullable: false),
|
|
|
|
|
Alias = table.Column<string>(nullable: true),
|
|
|
|
|
ConcurrencyStamp = table.Column<string>(nullable: true),
|
|
|
|
|
Email = table.Column<string>(maxLength: 256, nullable: true),
|
|
|
|
|
EmailConfirmed = table.Column<bool>(nullable: false),
|
|
|
|
|
LockoutEnabled = table.Column<bool>(nullable: false),
|
|
|
|
|
LockoutEnd = table.Column<DateTimeOffset>(nullable: true),
|
|
|
|
|
NormalizedEmail = table.Column<string>(maxLength: 256, nullable: true),
|
|
|
|
|
NormalizedUserName = table.Column<string>(maxLength: 256, nullable: true),
|
|
|
|
|
PasswordHash = table.Column<string>(nullable: true),
|
|
|
|
|
PhoneNumber = table.Column<string>(nullable: true),
|
|
|
|
|
PhoneNumberConfirmed = table.Column<bool>(nullable: false),
|
|
|
|
|
SecurityStamp = table.Column<string>(nullable: true),
|
|
|
|
|
TwoFactorEnabled = table.Column<bool>(nullable: false),
|
|
|
|
|
UserName = table.Column<string>(maxLength: 256, nullable: true),
|
|
|
|
|
UserType = table.Column<int>(nullable: false)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
|
table.PrimaryKey("PK_AspNetUsers", x => x.Id);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "PlexContent",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
AddedAt = table.Column<DateTime>(nullable: false),
|
|
|
|
|
Key = table.Column<int>(nullable: false),
|
|
|
|
|
ProviderId = table.Column<string>(nullable: true),
|
|
|
|
|
Quality = table.Column<string>(nullable: true),
|
|
|
|
|
ReleaseYear = table.Column<string>(nullable: true),
|
|
|
|
|
Title = table.Column<string>(nullable: true),
|
|
|
|
|
Type = table.Column<int>(nullable: false),
|
|
|
|
|
Url = table.Column<string>(nullable: true)
|
|
|
|
|
AddedAt = table.Column<DateTime>(type: "TEXT", nullable: false),
|
|
|
|
|
Key = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
ProviderId = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
Quality = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
ReleaseYear = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
Title = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
Type = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
Url = table.Column<string>(type: "TEXT", nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -167,9 +155,9 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
name: "RadarrCache",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
TheMovieDbId = table.Column<int>(nullable: false)
|
|
|
|
|
TheMovieDbId = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -180,16 +168,16 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
name: "TvRequests",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
ImdbId = table.Column<string>(nullable: true),
|
|
|
|
|
Overview = table.Column<string>(nullable: true),
|
|
|
|
|
PosterPath = table.Column<string>(nullable: true),
|
|
|
|
|
ReleaseDate = table.Column<DateTime>(nullable: false),
|
|
|
|
|
RootFolder = table.Column<int>(nullable: true),
|
|
|
|
|
Status = table.Column<string>(nullable: true),
|
|
|
|
|
Title = table.Column<string>(nullable: true),
|
|
|
|
|
TvDbId = table.Column<int>(nullable: false)
|
|
|
|
|
ImdbId = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
Overview = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
PosterPath = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
ReleaseDate = table.Column<DateTime>(type: "TEXT", nullable: false),
|
|
|
|
|
RootFolder = table.Column<int>(type: "INTEGER", nullable: true),
|
|
|
|
|
Status = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
Title = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
TvDbId = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -200,11 +188,11 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
name: "AspNetRoleClaims",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
ClaimType = table.Column<string>(nullable: true),
|
|
|
|
|
ClaimValue = table.Column<string>(nullable: true),
|
|
|
|
|
RoleId = table.Column<string>(nullable: false)
|
|
|
|
|
ClaimType = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
ClaimValue = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
RoleId = table.Column<string>(type: "TEXT", nullable: false)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -221,11 +209,11 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
name: "AspNetUserClaims",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
ClaimType = table.Column<string>(nullable: true),
|
|
|
|
|
ClaimValue = table.Column<string>(nullable: true),
|
|
|
|
|
UserId = table.Column<string>(nullable: false)
|
|
|
|
|
ClaimType = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
ClaimValue = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
UserId = table.Column<string>(type: "TEXT", nullable: false)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -242,10 +230,10 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
name: "AspNetUserLogins",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
LoginProvider = table.Column<string>(nullable: false),
|
|
|
|
|
ProviderKey = table.Column<string>(nullable: false),
|
|
|
|
|
ProviderDisplayName = table.Column<string>(nullable: true),
|
|
|
|
|
UserId = table.Column<string>(nullable: false)
|
|
|
|
|
LoginProvider = table.Column<string>(type: "TEXT", nullable: false),
|
|
|
|
|
ProviderKey = table.Column<string>(type: "TEXT", nullable: false),
|
|
|
|
|
ProviderDisplayName = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
UserId = table.Column<string>(type: "TEXT", nullable: false)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -262,8 +250,8 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
name: "AspNetUserRoles",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
UserId = table.Column<string>(nullable: false),
|
|
|
|
|
RoleId = table.Column<string>(nullable: false)
|
|
|
|
|
UserId = table.Column<string>(type: "TEXT", nullable: false),
|
|
|
|
|
RoleId = table.Column<string>(type: "TEXT", nullable: false)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -282,27 +270,47 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
onDelete: ReferentialAction.Cascade);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "AspNetUserTokens",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
UserId = table.Column<string>(type: "TEXT", nullable: false),
|
|
|
|
|
LoginProvider = table.Column<string>(type: "TEXT", nullable: false),
|
|
|
|
|
Name = table.Column<string>(type: "TEXT", nullable: false),
|
|
|
|
|
Value = table.Column<string>(type: "TEXT", nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
|
table.PrimaryKey("PK_AspNetUserTokens", x => new { x.UserId, x.LoginProvider, x.Name });
|
|
|
|
|
table.ForeignKey(
|
|
|
|
|
name: "FK_AspNetUserTokens_AspNetUsers_UserId",
|
|
|
|
|
column: x => x.UserId,
|
|
|
|
|
principalTable: "AspNetUsers",
|
|
|
|
|
principalColumn: "Id",
|
|
|
|
|
onDelete: ReferentialAction.Cascade);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "MovieRequests",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
Approved = table.Column<bool>(nullable: false),
|
|
|
|
|
Available = table.Column<bool>(nullable: false),
|
|
|
|
|
Denied = table.Column<bool>(nullable: true),
|
|
|
|
|
DeniedReason = table.Column<string>(nullable: true),
|
|
|
|
|
ImdbId = table.Column<string>(nullable: true),
|
|
|
|
|
IssueId = table.Column<int>(nullable: true),
|
|
|
|
|
Overview = table.Column<string>(nullable: true),
|
|
|
|
|
PosterPath = table.Column<string>(nullable: true),
|
|
|
|
|
ReleaseDate = table.Column<DateTime>(nullable: false),
|
|
|
|
|
RequestType = table.Column<int>(nullable: false),
|
|
|
|
|
RequestedDate = table.Column<DateTime>(nullable: false),
|
|
|
|
|
RequestedUserId = table.Column<string>(nullable: true),
|
|
|
|
|
Status = table.Column<string>(nullable: true),
|
|
|
|
|
TheMovieDbId = table.Column<int>(nullable: false),
|
|
|
|
|
Title = table.Column<string>(nullable: true)
|
|
|
|
|
Approved = table.Column<bool>(type: "INTEGER", nullable: false),
|
|
|
|
|
Available = table.Column<bool>(type: "INTEGER", nullable: false),
|
|
|
|
|
Denied = table.Column<bool>(type: "INTEGER", nullable: true),
|
|
|
|
|
DeniedReason = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
ImdbId = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
IssueId = table.Column<int>(type: "INTEGER", nullable: true),
|
|
|
|
|
Overview = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
PosterPath = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
ReleaseDate = table.Column<DateTime>(type: "TEXT", nullable: false),
|
|
|
|
|
RequestType = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
RequestedDate = table.Column<DateTime>(type: "TEXT", nullable: false),
|
|
|
|
|
RequestedUserId = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
Status = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
TheMovieDbId = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
Title = table.Column<string>(type: "TEXT", nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -319,10 +327,10 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
name: "Tokens",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
Token = table.Column<string>(nullable: true),
|
|
|
|
|
UserId = table.Column<string>(nullable: true)
|
|
|
|
|
Token = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
UserId = table.Column<string>(type: "TEXT", nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -335,18 +343,43 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
onDelete: ReferentialAction.Restrict);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "EmbyEpisode",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
AddedAt = table.Column<DateTime>(type: "TEXT", nullable: false),
|
|
|
|
|
EmbyId = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
EpisodeNumber = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
ParentId = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
ProviderId = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
SeasonNumber = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
Title = table.Column<string>(type: "TEXT", nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
|
table.PrimaryKey("PK_EmbyEpisode", x => x.Id);
|
|
|
|
|
table.ForeignKey(
|
|
|
|
|
name: "FK_EmbyEpisode_EmbyContent_ParentId",
|
|
|
|
|
column: x => x.ParentId,
|
|
|
|
|
principalTable: "EmbyContent",
|
|
|
|
|
principalColumn: "EmbyId",
|
|
|
|
|
onDelete: ReferentialAction.Restrict);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "PlexEpisode",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
EpisodeNumber = table.Column<int>(nullable: false),
|
|
|
|
|
GrandparentKey = table.Column<int>(nullable: false),
|
|
|
|
|
Key = table.Column<int>(nullable: false),
|
|
|
|
|
ParentKey = table.Column<int>(nullable: false),
|
|
|
|
|
SeasonNumber = table.Column<int>(nullable: false),
|
|
|
|
|
Title = table.Column<string>(nullable: true)
|
|
|
|
|
EpisodeNumber = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
GrandparentKey = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
Key = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
ParentKey = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
SeasonNumber = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
Title = table.Column<string>(type: "TEXT", nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -363,12 +396,12 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
name: "PlexSeasonsContent",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
ParentKey = table.Column<int>(nullable: false),
|
|
|
|
|
PlexContentId = table.Column<int>(nullable: false),
|
|
|
|
|
SeasonKey = table.Column<int>(nullable: false),
|
|
|
|
|
SeasonNumber = table.Column<int>(nullable: false)
|
|
|
|
|
ParentKey = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
PlexContentId = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
SeasonKey = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
SeasonNumber = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -385,18 +418,18 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
name: "ChildRequests",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
Approved = table.Column<bool>(nullable: false),
|
|
|
|
|
Available = table.Column<bool>(nullable: false),
|
|
|
|
|
Denied = table.Column<bool>(nullable: true),
|
|
|
|
|
DeniedReason = table.Column<string>(nullable: true),
|
|
|
|
|
IssueId = table.Column<int>(nullable: true),
|
|
|
|
|
ParentRequestId = table.Column<int>(nullable: false),
|
|
|
|
|
RequestType = table.Column<int>(nullable: false),
|
|
|
|
|
RequestedDate = table.Column<DateTime>(nullable: false),
|
|
|
|
|
RequestedUserId = table.Column<string>(nullable: true),
|
|
|
|
|
Title = table.Column<string>(nullable: true)
|
|
|
|
|
Approved = table.Column<bool>(type: "INTEGER", nullable: false),
|
|
|
|
|
Available = table.Column<bool>(type: "INTEGER", nullable: false),
|
|
|
|
|
Denied = table.Column<bool>(type: "INTEGER", nullable: true),
|
|
|
|
|
DeniedReason = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
IssueId = table.Column<int>(type: "INTEGER", nullable: true),
|
|
|
|
|
ParentRequestId = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
RequestType = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
RequestedDate = table.Column<DateTime>(type: "TEXT", nullable: false),
|
|
|
|
|
RequestedUserId = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
Title = table.Column<string>(type: "TEXT", nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -419,12 +452,12 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
name: "MovieIssues",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
Description = table.Column<string>(nullable: true),
|
|
|
|
|
IssueId = table.Column<int>(nullable: true),
|
|
|
|
|
MovieId = table.Column<int>(nullable: false),
|
|
|
|
|
Subect = table.Column<string>(nullable: true)
|
|
|
|
|
Description = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
IssueId = table.Column<int>(type: "INTEGER", nullable: true),
|
|
|
|
|
MovieId = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
Subect = table.Column<string>(type: "TEXT", nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -444,48 +477,48 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "TvIssues",
|
|
|
|
|
name: "SeasonRequests",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
Description = table.Column<string>(nullable: true),
|
|
|
|
|
IssueId = table.Column<int>(nullable: true),
|
|
|
|
|
Subect = table.Column<string>(nullable: true),
|
|
|
|
|
TvId = table.Column<int>(nullable: false)
|
|
|
|
|
ChildRequestId = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
SeasonNumber = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
|
table.PrimaryKey("PK_TvIssues", x => x.Id);
|
|
|
|
|
table.ForeignKey(
|
|
|
|
|
name: "FK_TvIssues_ChildRequests_IssueId",
|
|
|
|
|
column: x => x.IssueId,
|
|
|
|
|
principalTable: "ChildRequests",
|
|
|
|
|
principalColumn: "Id",
|
|
|
|
|
onDelete: ReferentialAction.Restrict);
|
|
|
|
|
table.PrimaryKey("PK_SeasonRequests", x => x.Id);
|
|
|
|
|
table.ForeignKey(
|
|
|
|
|
name: "FK_TvIssues_ChildRequests_TvId",
|
|
|
|
|
column: x => x.TvId,
|
|
|
|
|
name: "FK_SeasonRequests_ChildRequests_ChildRequestId",
|
|
|
|
|
column: x => x.ChildRequestId,
|
|
|
|
|
principalTable: "ChildRequests",
|
|
|
|
|
principalColumn: "Id",
|
|
|
|
|
onDelete: ReferentialAction.Cascade);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
name: "SeasonRequests",
|
|
|
|
|
name: "TvIssues",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
ChildRequestId = table.Column<int>(nullable: false),
|
|
|
|
|
SeasonNumber = table.Column<int>(nullable: false)
|
|
|
|
|
Description = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
IssueId = table.Column<int>(type: "INTEGER", nullable: true),
|
|
|
|
|
Subect = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
TvId = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
|
table.PrimaryKey("PK_SeasonRequests", x => x.Id);
|
|
|
|
|
table.PrimaryKey("PK_TvIssues", x => x.Id);
|
|
|
|
|
table.ForeignKey(
|
|
|
|
|
name: "FK_SeasonRequests_ChildRequests_ChildRequestId",
|
|
|
|
|
column: x => x.ChildRequestId,
|
|
|
|
|
name: "FK_TvIssues_ChildRequests_IssueId",
|
|
|
|
|
column: x => x.IssueId,
|
|
|
|
|
principalTable: "ChildRequests",
|
|
|
|
|
principalColumn: "Id",
|
|
|
|
|
onDelete: ReferentialAction.Restrict);
|
|
|
|
|
table.ForeignKey(
|
|
|
|
|
name: "FK_TvIssues_ChildRequests_TvId",
|
|
|
|
|
column: x => x.TvId,
|
|
|
|
|
principalTable: "ChildRequests",
|
|
|
|
|
principalColumn: "Id",
|
|
|
|
|
onDelete: ReferentialAction.Cascade);
|
|
|
|
@ -495,16 +528,16 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
name: "EpisodeRequests",
|
|
|
|
|
columns: table => new
|
|
|
|
|
{
|
|
|
|
|
Id = table.Column<int>(nullable: false)
|
|
|
|
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
|
|
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
|
|
|
AirDate = table.Column<DateTime>(nullable: false),
|
|
|
|
|
Approved = table.Column<bool>(nullable: false),
|
|
|
|
|
Available = table.Column<bool>(nullable: false),
|
|
|
|
|
EpisodeNumber = table.Column<int>(nullable: false),
|
|
|
|
|
Requested = table.Column<bool>(nullable: false),
|
|
|
|
|
SeasonId = table.Column<int>(nullable: false),
|
|
|
|
|
Title = table.Column<string>(nullable: true),
|
|
|
|
|
Url = table.Column<string>(nullable: true)
|
|
|
|
|
AirDate = table.Column<DateTime>(type: "TEXT", nullable: false),
|
|
|
|
|
Approved = table.Column<bool>(type: "INTEGER", nullable: false),
|
|
|
|
|
Available = table.Column<bool>(type: "INTEGER", nullable: false),
|
|
|
|
|
EpisodeNumber = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
Requested = table.Column<bool>(type: "INTEGER", nullable: false),
|
|
|
|
|
SeasonId = table.Column<int>(type: "INTEGER", nullable: false),
|
|
|
|
|
Title = table.Column<string>(type: "TEXT", nullable: true),
|
|
|
|
|
Url = table.Column<string>(type: "TEXT", nullable: true)
|
|
|
|
|
},
|
|
|
|
|
constraints: table =>
|
|
|
|
|
{
|
|
|
|
@ -517,17 +550,17 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
onDelete: ReferentialAction.Cascade);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "IX_AspNetRoleClaims_RoleId",
|
|
|
|
|
table: "AspNetRoleClaims",
|
|
|
|
|
column: "RoleId");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "RoleNameIndex",
|
|
|
|
|
table: "AspNetRoles",
|
|
|
|
|
column: "NormalizedName",
|
|
|
|
|
unique: true);
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "IX_AspNetRoleClaims_RoleId",
|
|
|
|
|
table: "AspNetRoleClaims",
|
|
|
|
|
column: "RoleId");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "IX_AspNetUserClaims_UserId",
|
|
|
|
|
table: "AspNetUserClaims",
|
|
|
|
@ -554,16 +587,6 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
column: "NormalizedUserName",
|
|
|
|
|
unique: true);
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "IX_PlexEpisode_GrandparentKey",
|
|
|
|
|
table: "PlexEpisode",
|
|
|
|
|
column: "GrandparentKey");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "IX_PlexSeasonsContent_PlexContentId",
|
|
|
|
|
table: "PlexSeasonsContent",
|
|
|
|
|
column: "PlexContentId");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "IX_ChildRequests_ParentRequestId",
|
|
|
|
|
table: "ChildRequests",
|
|
|
|
@ -574,6 +597,16 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
table: "ChildRequests",
|
|
|
|
|
column: "RequestedUserId");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "IX_EmbyEpisode_ParentId",
|
|
|
|
|
table: "EmbyEpisode",
|
|
|
|
|
column: "ParentId");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "IX_EpisodeRequests_SeasonId",
|
|
|
|
|
table: "EpisodeRequests",
|
|
|
|
|
column: "SeasonId");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "IX_MovieIssues_IssueId",
|
|
|
|
|
table: "MovieIssues",
|
|
|
|
@ -590,14 +623,19 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
column: "RequestedUserId");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "IX_TvIssues_IssueId",
|
|
|
|
|
table: "TvIssues",
|
|
|
|
|
column: "IssueId");
|
|
|
|
|
name: "IX_PlexEpisode_GrandparentKey",
|
|
|
|
|
table: "PlexEpisode",
|
|
|
|
|
column: "GrandparentKey");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "IX_TvIssues_TvId",
|
|
|
|
|
table: "TvIssues",
|
|
|
|
|
column: "TvId");
|
|
|
|
|
name: "IX_PlexSeasonsContent_PlexContentId",
|
|
|
|
|
table: "PlexSeasonsContent",
|
|
|
|
|
column: "PlexContentId");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "IX_SeasonRequests_ChildRequestId",
|
|
|
|
|
table: "SeasonRequests",
|
|
|
|
|
column: "ChildRequestId");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "IX_Tokens_UserId",
|
|
|
|
@ -605,18 +643,21 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
column: "UserId");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "IX_EpisodeRequests_SeasonId",
|
|
|
|
|
table: "EpisodeRequests",
|
|
|
|
|
column: "SeasonId");
|
|
|
|
|
name: "IX_TvIssues_IssueId",
|
|
|
|
|
table: "TvIssues",
|
|
|
|
|
column: "IssueId");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
|
|
|
name: "IX_SeasonRequests_ChildRequestId",
|
|
|
|
|
table: "SeasonRequests",
|
|
|
|
|
column: "ChildRequestId");
|
|
|
|
|
name: "IX_TvIssues_TvId",
|
|
|
|
|
table: "TvIssues",
|
|
|
|
|
column: "TvId");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "ApplicationConfiguration");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "AspNetRoleClaims");
|
|
|
|
|
|
|
|
|
@ -633,17 +674,20 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
name: "AspNetUserTokens");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "ApplicationConfiguration");
|
|
|
|
|
name: "Audit");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "Audit");
|
|
|
|
|
name: "EmbyEpisode");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "EmbyContent");
|
|
|
|
|
name: "EpisodeRequests");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "GlobalSettings");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "MovieIssues");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "NotificationTemplates");
|
|
|
|
|
|
|
|
|
@ -657,28 +701,25 @@ namespace Ombi.Store.Migrations
|
|
|
|
|
name: "RadarrCache");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "MovieIssues");
|
|
|
|
|
name: "Tokens");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "TvIssues");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "Tokens");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "EpisodeRequests");
|
|
|
|
|
name: "AspNetRoles");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "AspNetRoles");
|
|
|
|
|
name: "EmbyContent");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "PlexContent");
|
|
|
|
|
name: "SeasonRequests");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "MovieRequests");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "SeasonRequests");
|
|
|
|
|
name: "PlexContent");
|
|
|
|
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
name: "ChildRequests");
|