Hey Guys. I seem to be having an issue porting form Vanilla to Flarum and the attachments and uploads. Can someone explain how your table structure works so that I can manually add a attachment to a post form an old location? I did use the nitro-porter project by Linc on GitHub. All my attachments are showing in the fof_upload_files
table and there is a post number at the very end of the row but if I go to that post, nothing is there.
I did a test upload using your tool and I do see that when it uploads a file, it creates an entry in the fof_upload_files
table, it then creates a row in the fof_upload_file_posts
table to associate the upload id with the post id and then there seems to be added to the post a long string that looks like this: [upl-image-preview uuid=ebd0eafb-8335-4f46-b3db-2723ccaf07d3 url=https://domain.com/assets/files/2024-12-31/1735616935-268987-img-20181127-155639-193-copy.jpg alt={TEXT?}]
Does all of these items need to exist for an attachment to show up in a post? Why is there a post_id column in the fof_upload_files
and also a table for fof_upload_file_posts
which seems redundant? Is one old and will be deprecated?
Any help would be appreciated to figure out why my attachments are not showing up!