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 --- BlobBin/Migrations/20230110204008_InitialCreate.cs | 65 ---------------------- 1 file changed, 65 deletions(-) delete mode 100644 BlobBin/Migrations/20230110204008_InitialCreate.cs (limited to 'BlobBin/Migrations/20230110204008_InitialCreate.cs') diff --git a/BlobBin/Migrations/20230110204008_InitialCreate.cs b/BlobBin/Migrations/20230110204008_InitialCreate.cs deleted file mode 100644 index 1614b01..0000000 --- a/BlobBin/Migrations/20230110204008_InitialCreate.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable - -namespace BlobBin.Migrations -{ - /// - public partial class InitialCreate : Migration - { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.CreateTable( - name: "Files", - columns: table => new - { - Id = table.Column(type: "TEXT", nullable: false), - Name = table.Column(type: "TEXT", nullable: false), - Length = table.Column(type: "INTEGER", nullable: false), - CreatedAt = table.Column(type: "TEXT", nullable: false), - CreatedBy = table.Column(type: "TEXT", nullable: false), - DeletedAt = table.Column(type: "TEXT", nullable: true), - PasswordHash = table.Column(type: "TEXT", nullable: true), - Singleton = table.Column(type: "INTEGER", nullable: false), - AutoDeleteAfter = table.Column(type: "TEXT", nullable: true), - MimeType = table.Column(type: "TEXT", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Files", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Pastes", - columns: table => new - { - Id = table.Column(type: "TEXT", nullable: false), - Name = table.Column(type: "TEXT", nullable: false), - Length = table.Column(type: "INTEGER", nullable: false), - CreatedAt = table.Column(type: "TEXT", nullable: false), - CreatedBy = table.Column(type: "TEXT", nullable: false), - DeletedAt = table.Column(type: "TEXT", nullable: true), - PasswordHash = table.Column(type: "TEXT", nullable: true), - Singleton = table.Column(type: "INTEGER", nullable: false), - AutoDeleteAfter = table.Column(type: "TEXT", nullable: true), - MimeType = table.Column(type: "TEXT", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Pastes", x => x.Id); - }); - } - - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropTable( - name: "Files"); - - migrationBuilder.DropTable( - name: "Pastes"); - } - } -} -- cgit v1.3