Rich media link previews

This commit is contained in:
Christopher
2026-01-22 13:14:58 -08:00
parent 8300001e75
commit 67a97ea8c4
5 changed files with 257 additions and 6 deletions
+5
View File
@@ -88,6 +88,11 @@ export const posts = pgTable('posts', {
// ActivityPub
apId: text('ap_id').unique(), // https://node.com/posts/uuid
apUrl: text('ap_url'), // Public URL for the post
// Link Preview
linkPreviewUrl: text('link_preview_url'),
linkPreviewTitle: text('link_preview_title'),
linkPreviewDescription: text('link_preview_description'),
linkPreviewImage: text('link_preview_image'),
createdAt: timestamp('created_at').defaultNow().notNull(),
updatedAt: timestamp('updated_at').defaultNow().notNull(),
}, (table) => [