addes migration for sqlite to make sure the new id field is text

This commit is contained in:
2020-02-06 23:09:24 +01:00
parent cef19f9a22
commit b89ae349ca
4 changed files with 176 additions and 15 deletions

View File

@@ -14,36 +14,49 @@ namespace Tv7Playlist.Data.Migrations
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "2.2.1-servicing-10028");
.HasAnnotation("ProductVersion", "3.1.1");
modelBuilder.Entity("Tv7Playlist.Data.PlaylistEntry", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd();
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property<int>("ChannelNumberExport");
b.Property<int>("ChannelNumberExport")
.HasColumnType("INTEGER");
b.Property<int>("ChannelNumberImport");
b.Property<int>("ChannelNumberImport")
.HasColumnType("INTEGER");
b.Property<DateTime>("Created");
b.Property<DateTime>("Created")
.HasColumnType("TEXT");
b.Property<string>("EpgMatchName");
b.Property<string>("EpgMatchName")
.HasColumnType("TEXT");
b.Property<bool>("IsAvailable");
b.Property<bool>("IsAvailable")
.HasColumnType("INTEGER");
b.Property<bool>("IsEnabled");
b.Property<bool>("IsEnabled")
.HasColumnType("INTEGER");
b.Property<string>("LogoUrl");
b.Property<string>("LogoUrl")
.HasColumnType("TEXT");
b.Property<DateTime>("Modified");
b.Property<DateTime>("Modified")
.HasColumnType("TEXT");
b.Property<string>("Name");
b.Property<string>("Name")
.HasColumnType("TEXT");
b.Property<int>("Position");
b.Property<int>("Position")
.HasColumnType("INTEGER");
b.Property<string>("UrlOriginal");
b.Property<string>("UrlOriginal")
.HasColumnType("TEXT");
b.Property<string>("UrlProxy");
b.Property<string>("UrlProxy")
.HasColumnType("TEXT");
b.HasKey("Id");