From c7d72be2d1eed9b7fbfe719752ff800653d8c089 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sun, 2 Aug 2020 00:04:06 +0200 Subject: change db, set cookie --- .../Migrations/20200729090558_Initial.Designer.cs | 143 --------------------- 1 file changed, 143 deletions(-) delete mode 100644 src/server/Migrations/20200729090558_Initial.Designer.cs (limited to 'src/server/Migrations/20200729090558_Initial.Designer.cs') diff --git a/src/server/Migrations/20200729090558_Initial.Designer.cs b/src/server/Migrations/20200729090558_Initial.Designer.cs deleted file mode 100644 index 9657f66..0000000 --- a/src/server/Migrations/20200729090558_Initial.Designer.cs +++ /dev/null @@ -1,143 +0,0 @@ -// -using System; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using Dough.Models.Database; - -namespace Dough.Migrations -{ - [DbContext(typeof(MainDbContext))] - [Migration("20200729090558_Initial")] - partial class Initial - { - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "3.1.6"); - - modelBuilder.Entity("MoneyManager.Models.Database.Category", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("TEXT"); - - b.Property("Created") - .HasColumnType("TEXT"); - - b.Property("CreatedBy") - .HasColumnType("TEXT"); - - b.Property("Hidden") - .HasColumnType("INTEGER"); - - b.Property("Name") - .HasColumnType("TEXT"); - - b.HasKey("Id"); - - b.ToTable("Categories"); - }); - - modelBuilder.Entity("MoneyManager.Models.Database.Payee", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("TEXT"); - - b.Property("Created") - .HasColumnType("TEXT"); - - b.Property("CreatedBy") - .HasColumnType("TEXT"); - - b.Property("Hidden") - .HasColumnType("INTEGER"); - - b.Property("Name") - .HasColumnType("TEXT"); - - b.HasKey("Id"); - - b.ToTable("Payees"); - }); - - modelBuilder.Entity("MoneyManager.Models.Database.Transaction", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("TEXT"); - - b.Property("Amount") - .HasColumnType("REAL"); - - b.Property("CategoryId") - .HasColumnType("TEXT"); - - b.Property("Created") - .HasColumnType("TEXT"); - - b.Property("CreatedBy") - .HasColumnType("TEXT"); - - b.Property("Date") - .HasColumnType("TEXT"); - - b.Property("Hidden") - .HasColumnType("INTEGER"); - - b.Property("Note") - .HasColumnType("TEXT"); - - b.Property("PayeeId") - .HasColumnType("TEXT"); - - b.Property("Tags") - .HasColumnType("TEXT"); - - b.HasKey("Id"); - - b.ToTable("Transactions"); - }); - - modelBuilder.Entity("MoneyManager.Models.Database.User", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("TEXT"); - - b.Property("Created") - .HasColumnType("TEXT"); - - b.Property("CreatedBy") - .HasColumnType("TEXT"); - - b.Property("Hidden") - .HasColumnType("INTEGER"); - - b.Property("Password") - .HasColumnType("TEXT"); - - b.Property("Username") - .HasColumnType("TEXT"); - - b.HasKey("Id"); - - b.ToTable("Users"); - - b.HasData( - new - { - Id = new Guid("193053d0-4292-4dc5-baae-59a920b64891"), - Created = new DateTime(2020, 7, 29, 9, 5, 57, 914, DateTimeKind.Utc).AddTicks(3427), - Hidden = false, - Password = "$2b$10$RFdcYLeqporq94pUIOoJGOPnhUbpV7R4e.2Iz8ot02N2PqeCpDCA6", - Username = "ivar" - }); - }); -#pragma warning restore 612, 618 - } - } -} -- cgit v1.3