feat: seo optimizations + opengraph embeds

fix: nullable AuthorUUIDs; assign admins member & mod role
This commit is contained in:
2026-01-06 16:26:47 -05:00
parent a7185d6a3d
commit 3bbd64631a
13 changed files with 288 additions and 14 deletions
@@ -23,7 +23,7 @@ namespace SharpbinV3.Server.Migrations
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<Guid>("AuthorUUID")
b.Property<Guid?>("AuthorUUID")
.HasColumnType("TEXT");
b.Property<byte[]>("Content")
@@ -160,8 +160,7 @@ namespace SharpbinV3.Server.Migrations
b.HasOne("SharpbinV3.Server.Data.Entities.User", "User")
.WithMany("Pastes")
.HasForeignKey("AuthorUUID")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
.OnDelete(DeleteBehavior.Cascade);
b.Navigation("User");
});