♻️ Refactor activitypub content storage
This commit is contained in:
@@ -102,10 +102,10 @@ namespace DysonNetwork.Sphere.Migrations
|
||||
published_at = table.Column<Instant>(type: "timestamp with time zone", nullable: true),
|
||||
edited_at = table.Column<Instant>(type: "timestamp with time zone", nullable: true),
|
||||
is_sensitive = table.Column<bool>(type: "boolean", nullable: false),
|
||||
attachments = table.Column<List<ContentAttachment>>(type: "jsonb", nullable: true),
|
||||
mentions = table.Column<List<ContentMention>>(type: "jsonb", nullable: true),
|
||||
tags = table.Column<List<ContentTag>>(type: "jsonb", nullable: true),
|
||||
emojis = table.Column<List<ContentEmoji>>(type: "jsonb", nullable: true),
|
||||
// attachments = table.Column<List<ContentAttachment>>(type: "jsonb", nullable: true),
|
||||
// mentions = table.Column<List<ContentMention>>(type: "jsonb", nullable: true),
|
||||
// tags = table.Column<List<ContentTag>>(type: "jsonb", nullable: true),
|
||||
// emojis = table.Column<List<ContentEmoji>>(type: "jsonb", nullable: true),
|
||||
metadata = table.Column<Dictionary<string, object>>(type: "jsonb", nullable: true),
|
||||
actor_id = table.Column<Guid>(type: "uuid", nullable: false),
|
||||
instance_id = table.Column<Guid>(type: "uuid", nullable: false),
|
||||
|
||||
Reference in New Issue
Block a user