From 971c00b8f5977db9422eeafa47b262c1030bd4af Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Fri, 13 Jan 2023 00:04:12 +0100 Subject: feat: working file upload --- .../20230110204008_InitialCreate.Designer.cs | 105 --------------------- 1 file changed, 105 deletions(-) delete mode 100644 BlobBin/Migrations/20230110204008_InitialCreate.Designer.cs (limited to 'BlobBin/Migrations/20230110204008_InitialCreate.Designer.cs') diff --git a/BlobBin/Migrations/20230110204008_InitialCreate.Designer.cs b/BlobBin/Migrations/20230110204008_InitialCreate.Designer.cs deleted file mode 100644 index f461df5..0000000 --- a/BlobBin/Migrations/20230110204008_InitialCreate.Designer.cs +++ /dev/null @@ -1,105 +0,0 @@ -// -using System; -using BlobBin; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; - -#nullable disable - -namespace BlobBin.Migrations -{ - [DbContext(typeof(DB))] - [Migration("20230110204008_InitialCreate")] - partial class InitialCreate - { - /// - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder.HasAnnotation("ProductVersion", "7.0.2"); - - modelBuilder.Entity("BlobBin.File", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("TEXT"); - - b.Property("AutoDeleteAfter") - .HasColumnType("TEXT"); - - b.Property("CreatedAt") - .HasColumnType("TEXT"); - - b.Property("CreatedBy") - .IsRequired() - .HasColumnType("TEXT"); - - b.Property("DeletedAt") - .HasColumnType("TEXT"); - - b.Property("Length") - .HasColumnType("INTEGER"); - - b.Property("MimeType") - .HasColumnType("TEXT"); - - b.Property("Name") - .IsRequired() - .HasColumnType("TEXT"); - - b.Property("PasswordHash") - .HasColumnType("TEXT"); - - b.Property("Singleton") - .HasColumnType("INTEGER"); - - b.HasKey("Id"); - - b.ToTable("Files"); - }); - - modelBuilder.Entity("BlobBin.Paste", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("TEXT"); - - b.Property("AutoDeleteAfter") - .HasColumnType("TEXT"); - - b.Property("CreatedAt") - .HasColumnType("TEXT"); - - b.Property("CreatedBy") - .IsRequired() - .HasColumnType("TEXT"); - - b.Property("DeletedAt") - .HasColumnType("TEXT"); - - b.Property("Length") - .HasColumnType("INTEGER"); - - b.Property("MimeType") - .HasColumnType("TEXT"); - - b.Property("Name") - .IsRequired() - .HasColumnType("TEXT"); - - b.Property("PasswordHash") - .HasColumnType("TEXT"); - - b.Property("Singleton") - .HasColumnType("INTEGER"); - - b.HasKey("Id"); - - b.ToTable("Pastes"); - }); -#pragma warning restore 612, 618 - } - } -} -- cgit v1.3