mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
using Microsoft.EntityFrameworkCore.Migrations; |
|
|
|
#nullable disable |
|
|
|
namespace ErsatzTV.Infrastructure.Sqlite.Migrations |
|
{ |
|
public partial class Add_EmbyCollection : Migration |
|
{ |
|
protected override void Up(MigrationBuilder migrationBuilder) |
|
{ |
|
migrationBuilder.CreateTable( |
|
name: "EmbyCollection", |
|
columns: table => new |
|
{ |
|
Id = table.Column<int>(type: "INTEGER", nullable: false) |
|
.Annotation("Sqlite:Autoincrement", true), |
|
ItemId = table.Column<string>(type: "TEXT", nullable: true), |
|
Etag = table.Column<string>(type: "TEXT", nullable: true), |
|
Name = table.Column<string>(type: "TEXT", nullable: true) |
|
}, |
|
constraints: table => |
|
{ |
|
table.PrimaryKey("PK_EmbyCollection", x => x.Id); |
|
}); |
|
} |
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) |
|
{ |
|
migrationBuilder.DropTable( |
|
name: "EmbyCollection"); |
|
} |
|
} |
|
}
|
|
|