mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 04:49:33 -07:00
Fix broken migration
This commit is contained in:
parent
6a96d6718b
commit
fce9e88b1e
1 changed files with 14 additions and 7 deletions
|
@ -14,11 +14,15 @@ namespace Ombi.Store.Migrations.ExternalSqlite
|
||||||
{
|
{
|
||||||
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
||||||
.Annotation("Sqlite:Autoincrement", true),
|
.Annotation("Sqlite:Autoincrement", true),
|
||||||
AddedAt = table.Column<DateTime>(type: "TEXT", nullable: false),
|
|
||||||
JellyfinId = table.Column<string>(type: "TEXT", nullable: false),
|
|
||||||
ProviderId = table.Column<string>(type: "TEXT", nullable: true),
|
|
||||||
Title = table.Column<string>(type: "TEXT", nullable: true),
|
Title = table.Column<string>(type: "TEXT", nullable: true),
|
||||||
Type = table.Column<int>(type: "INTEGER", nullable: false)
|
ProviderId = table.Column<string>(type: "TEXT", nullable: true),
|
||||||
|
JellyfinId = table.Column<string>(type: "TEXT", nullable: false),
|
||||||
|
Type = table.Column<int>(type: "INTEGER", nullable: false),
|
||||||
|
AddedAt = table.Column<DateTime>(type: "TEXT", nullable: false),
|
||||||
|
ImdbId = table.Column<string>(type: "TEXT", nullable: true),
|
||||||
|
TheMovieDbId = table.Column<string>(type: "TEXT", nullable: true),
|
||||||
|
TvDbId = table.Column<string>(type: "TEXT", nullable: true),
|
||||||
|
Url = table.Column<string>(type: "TEXT", nullable: true)
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
|
@ -32,13 +36,16 @@ namespace Ombi.Store.Migrations.ExternalSqlite
|
||||||
{
|
{
|
||||||
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
||||||
.Annotation("Sqlite:Autoincrement", true),
|
.Annotation("Sqlite:Autoincrement", true),
|
||||||
AddedAt = table.Column<DateTime>(type: "TEXT", nullable: false),
|
Title = table.Column<string>(type: "TEXT", nullable: true),
|
||||||
JellyfinId = table.Column<string>(type: "TEXT", nullable: true),
|
JellyfinId = table.Column<string>(type: "TEXT", nullable: true),
|
||||||
EpisodeNumber = table.Column<int>(type: "INTEGER", nullable: false),
|
EpisodeNumber = table.Column<int>(type: "INTEGER", nullable: false),
|
||||||
|
SeasonNumber = table.Column<int>(type: "INTEGER", nullable: false),
|
||||||
ParentId = table.Column<string>(type: "TEXT", nullable: true),
|
ParentId = table.Column<string>(type: "TEXT", nullable: true),
|
||||||
ProviderId = table.Column<string>(type: "TEXT", nullable: true),
|
ProviderId = table.Column<string>(type: "TEXT", nullable: true),
|
||||||
SeasonNumber = table.Column<int>(type: "INTEGER", nullable: false),
|
AddedAt = table.Column<DateTime>(type: "TEXT", nullable: false),
|
||||||
Title = table.Column<string>(type: "TEXT", nullable: true)
|
TvDbId = table.Column<string>(type: "TEXT", nullable: true),
|
||||||
|
ImdbId = table.Column<string>(type: "TEXT", nullable: true),
|
||||||
|
TheMovieDbId = table.Column<string>(type: "TEXT", nullable: true)
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue