summaryrefslogtreecommitdiffstats
path: root/BlobBin/Migrations
diff options
context:
space:
mode:
Diffstat (limited to 'BlobBin/Migrations')
-rw-r--r--BlobBin/Migrations/20230112230354_InitialCreate.Designer.cs (renamed from BlobBin/Migrations/20230110204008_InitialCreate.Designer.cs)15
-rw-r--r--BlobBin/Migrations/20230112230354_InitialCreate.cs (renamed from BlobBin/Migrations/20230110204008_InitialCreate.cs)7
-rw-r--r--BlobBin/Migrations/DBModelSnapshot.cs13
3 files changed, 28 insertions, 7 deletions
diff --git a/BlobBin/Migrations/20230110204008_InitialCreate.Designer.cs b/BlobBin/Migrations/20230112230354_InitialCreate.Designer.cs
index f461df5..b5a06c3 100644
--- a/BlobBin/Migrations/20230110204008_InitialCreate.Designer.cs
+++ b/BlobBin/Migrations/20230112230354_InitialCreate.Designer.cs
@@ -11,7 +11,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace BlobBin.Migrations
{
[DbContext(typeof(DB))]
- [Migration("20230110204008_InitialCreate")]
+ [Migration("20230112230354_InitialCreate")]
partial class InitialCreate
{
/// <inheritdoc />
@@ -46,12 +46,15 @@ namespace BlobBin.Migrations
.HasColumnType("TEXT");
b.Property<string>("Name")
- .IsRequired()
.HasColumnType("TEXT");
b.Property<string>("PasswordHash")
.HasColumnType("TEXT");
+ b.Property<string>("PublicId")
+ .IsRequired()
+ .HasColumnType("TEXT");
+
b.Property<bool>("Singleton")
.HasColumnType("INTEGER");
@@ -69,6 +72,9 @@ namespace BlobBin.Migrations
b.Property<string>("AutoDeleteAfter")
.HasColumnType("TEXT");
+ b.Property<string>("Content")
+ .HasColumnType("TEXT");
+
b.Property<DateTime>("CreatedAt")
.HasColumnType("TEXT");
@@ -86,12 +92,15 @@ namespace BlobBin.Migrations
.HasColumnType("TEXT");
b.Property<string>("Name")
- .IsRequired()
.HasColumnType("TEXT");
b.Property<string>("PasswordHash")
.HasColumnType("TEXT");
+ b.Property<string>("PublicId")
+ .IsRequired()
+ .HasColumnType("TEXT");
+
b.Property<bool>("Singleton")
.HasColumnType("INTEGER");
diff --git a/BlobBin/Migrations/20230110204008_InitialCreate.cs b/BlobBin/Migrations/20230112230354_InitialCreate.cs
index 1614b01..97f9c36 100644
--- a/BlobBin/Migrations/20230110204008_InitialCreate.cs
+++ b/BlobBin/Migrations/20230112230354_InitialCreate.cs
@@ -16,8 +16,9 @@ namespace BlobBin.Migrations
columns: table => new
{
Id = table.Column<Guid>(type: "TEXT", nullable: false),
- Name = table.Column<string>(type: "TEXT", nullable: false),
+ Name = table.Column<string>(type: "TEXT", nullable: true),
Length = table.Column<long>(type: "INTEGER", nullable: false),
+ PublicId = table.Column<string>(type: "TEXT", nullable: false),
CreatedAt = table.Column<DateTime>(type: "TEXT", nullable: false),
CreatedBy = table.Column<string>(type: "TEXT", nullable: false),
DeletedAt = table.Column<DateTime>(type: "TEXT", nullable: true),
@@ -36,8 +37,10 @@ namespace BlobBin.Migrations
columns: table => new
{
Id = table.Column<Guid>(type: "TEXT", nullable: false),
- Name = table.Column<string>(type: "TEXT", nullable: false),
+ Name = table.Column<string>(type: "TEXT", nullable: true),
+ Content = table.Column<string>(type: "TEXT", nullable: true),
Length = table.Column<long>(type: "INTEGER", nullable: false),
+ PublicId = table.Column<string>(type: "TEXT", nullable: false),
CreatedAt = table.Column<DateTime>(type: "TEXT", nullable: false),
CreatedBy = table.Column<string>(type: "TEXT", nullable: false),
DeletedAt = table.Column<DateTime>(type: "TEXT", nullable: true),
diff --git a/BlobBin/Migrations/DBModelSnapshot.cs b/BlobBin/Migrations/DBModelSnapshot.cs
index b81feae..8c9fb26 100644
--- a/BlobBin/Migrations/DBModelSnapshot.cs
+++ b/BlobBin/Migrations/DBModelSnapshot.cs
@@ -43,12 +43,15 @@ namespace BlobBin.Migrations
.HasColumnType("TEXT");
b.Property<string>("Name")
- .IsRequired()
.HasColumnType("TEXT");
b.Property<string>("PasswordHash")
.HasColumnType("TEXT");
+ b.Property<string>("PublicId")
+ .IsRequired()
+ .HasColumnType("TEXT");
+
b.Property<bool>("Singleton")
.HasColumnType("INTEGER");
@@ -66,6 +69,9 @@ namespace BlobBin.Migrations
b.Property<string>("AutoDeleteAfter")
.HasColumnType("TEXT");
+ b.Property<string>("Content")
+ .HasColumnType("TEXT");
+
b.Property<DateTime>("CreatedAt")
.HasColumnType("TEXT");
@@ -83,12 +89,15 @@ namespace BlobBin.Migrations
.HasColumnType("TEXT");
b.Property<string>("Name")
- .IsRequired()
.HasColumnType("TEXT");
b.Property<string>("PasswordHash")
.HasColumnType("TEXT");
+ b.Property<string>("PublicId")
+ .IsRequired()
+ .HasColumnType("TEXT");
+
b.Property<bool>("Singleton")
.HasColumnType("INTEGER");