mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:39:43 +08:00
The post_* linkage tables from #41177 become embed_* tables keyed by (owner_type, owner_id), because placeholders will also live in user bios and group/category/badge descriptions later. On top of the rename: - quotes carry source coordinates (topic id + post number) and links a typed target, so the importer can resolve both once the id maps exist - new hashtag and emoji linkage tables; mention_type, hashtag_type and link_target become integer enums and the string MentionType is gone - EmbedBuffer records for one owner kind, PlaceholderResolver resolves and renders per owner and reports unresolved embeds and orphaned placeholders - the posts and custom_emojis tables stay ignored until their conversion steps land in a follow-up PR - the lazy source-name lookups (users, groups, categories with their slug paths, synonym-folded tags) live in their own NameResolver, and the resolver spec is split by phase under placeholder_resolver/ |
||
|---|---|---|
| .. | ||
| fixtures/schema | ||
| lib/migrations/tooling | ||
| spec_helper.rb | ||