summaryrefslogtreecommitdiffstats
path: root/src/Migrations/20230115182252_DeletionKey.Designer.cs
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2023-01-16 00:13:54 +0100
committerivarlovlie <git@ivarlovlie.no>2023-01-16 00:13:54 +0100
commit494fc9d7d1f08e05e1ee196bd0746900343b51dd (patch)
tree07fbca21dcf27084d4ac01b0d7098fa61df57e65 /src/Migrations/20230115182252_DeletionKey.Designer.cs
parentdbb09c75202f9d8a91e4babd599807462ecead9f (diff)
downloadblob-bin-494fc9d7d1f08e05e1ee196bd0746900343b51dd.tar.xz
blob-bin-494fc9d7d1f08e05e1ee196bd0746900343b51dd.zip
feat: Fully implemented text/file api, almost finished autodelete service
Diffstat (limited to 'src/Migrations/20230115182252_DeletionKey.Designer.cs')
-rw-r--r--src/Migrations/20230115182252_DeletionKey.Designer.cs122
1 files changed, 122 insertions, 0 deletions
diff --git a/src/Migrations/20230115182252_DeletionKey.Designer.cs b/src/Migrations/20230115182252_DeletionKey.Designer.cs
new file mode 100644
index 0000000..baf9730
--- /dev/null
+++ b/src/Migrations/20230115182252_DeletionKey.Designer.cs
@@ -0,0 +1,122 @@
+// <auto-generated />
+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(Eva))]
+ [Migration("20230115182252_DeletionKey")]
+ partial class DeletionKey
+ {
+ /// <inheritdoc />
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder.HasAnnotation("ProductVersion", "7.0.2");
+
+ modelBuilder.Entity("BlobBin.File", b =>
+ {
+ b.Property<Guid>("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("TEXT");
+
+ b.Property<string>("AutoDeleteAfter")
+ .HasColumnType("TEXT");
+
+ b.Property<DateTime>("CreatedAt")
+ .HasColumnType("TEXT");
+
+ b.Property<string>("CreatedBy")
+ .IsRequired()
+ .HasColumnType("TEXT");
+
+ b.Property<DateTime?>("DeletedAt")
+ .HasColumnType("TEXT");
+
+ b.Property<string>("DeletionKey")
+ .IsRequired()
+ .HasColumnType("TEXT");
+
+ b.Property<long>("Length")
+ .HasColumnType("INTEGER");
+
+ b.Property<string>("MimeType")
+ .HasColumnType("TEXT");
+
+ b.Property<string>("Name")
+ .HasColumnType("TEXT");
+
+ b.Property<string>("PasswordHash")
+ .HasColumnType("TEXT");
+
+ b.Property<string>("PublicId")
+ .IsRequired()
+ .HasColumnType("TEXT");
+
+ b.Property<bool>("Singleton")
+ .HasColumnType("INTEGER");
+
+ b.HasKey("Id");
+
+ b.ToTable("Files");
+ });
+
+ modelBuilder.Entity("BlobBin.Paste", b =>
+ {
+ b.Property<Guid>("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("TEXT");
+
+ b.Property<string>("AutoDeleteAfter")
+ .HasColumnType("TEXT");
+
+ b.Property<string>("Content")
+ .HasColumnType("TEXT");
+
+ b.Property<DateTime>("CreatedAt")
+ .HasColumnType("TEXT");
+
+ b.Property<string>("CreatedBy")
+ .IsRequired()
+ .HasColumnType("TEXT");
+
+ b.Property<DateTime?>("DeletedAt")
+ .HasColumnType("TEXT");
+
+ b.Property<string>("DeletionKey")
+ .IsRequired()
+ .HasColumnType("TEXT");
+
+ b.Property<long>("Length")
+ .HasColumnType("INTEGER");
+
+ b.Property<string>("MimeType")
+ .HasColumnType("TEXT");
+
+ b.Property<string>("Name")
+ .HasColumnType("TEXT");
+
+ b.Property<string>("PasswordHash")
+ .HasColumnType("TEXT");
+
+ b.Property<string>("PublicId")
+ .IsRequired()
+ .HasColumnType("TEXT");
+
+ b.Property<bool>("Singleton")
+ .HasColumnType("INTEGER");
+
+ b.HasKey("Id");
+
+ b.ToTable("Pastes");
+ });
+#pragma warning restore 612, 618
+ }
+ }
+}