feat: paste creation, utilities, revert to gzip, grammar fixes etc

This commit is contained in:
2025-11-25 01:17:16 -05:00
parent 6ec1a7fa7b
commit 93daa2e1a2
19 changed files with 949 additions and 23 deletions
@@ -23,23 +23,25 @@ namespace SharpbinV3.Migrations
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<string>("AuthorUUID")
.IsRequired()
b.Property<Guid>("AuthorUUID")
.HasColumnType("TEXT");
b.Property<byte[]>("Content")
.IsRequired()
.HasColumnType("BLOB");
b.Property<long?>("EditedAt")
.HasColumnType("INTEGER");
b.Property<long>("ExpiresAt")
.HasColumnType("INTEGER");
b.Property<string>("FilePath")
.IsRequired()
.HasColumnType("TEXT");
b.Property<string>("ID")
.HasColumnType("TEXT");
b.Property<bool>("IsCompressed")
.HasColumnType("INTEGER");
b.Property<int>("Size")
.HasColumnType("INTEGER");
@@ -52,8 +54,7 @@ namespace SharpbinV3.Migrations
b.Property<int>("TrueSize")
.HasColumnType("INTEGER");
b.Property<string>("UUID")
.IsRequired()
b.Property<Guid>("UUID")
.HasColumnType("TEXT");
b.Property<int?>("UserUID")
@@ -62,7 +63,7 @@ namespace SharpbinV3.Migrations
b.Property<int>("Views")
.HasColumnType("INTEGER");
b.Property<int>("Visiblity")
b.Property<int>("Visibility")
.HasColumnType("INTEGER");
b.HasKey("PID");
@@ -84,7 +85,7 @@ namespace SharpbinV3.Migrations
b.HasIndex("Views");
b.HasIndex("Visiblity");
b.HasIndex("Visibility");
b.ToTable("Pastes");
});