mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: paste creation, utilities, revert to gzip, grammar fixes etc
This commit is contained in:
@@ -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");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user