I have read only access to our confluence database, and I'm trying to understand the schema.
a) Is there some good documentation on the schema out there / worked examples etc?
b) I have 1 specific query I need to write, which is to be able to pull a "page tree" out for a defined spacekey.
i.e a hierarchical list of the page titles. their "indent level", and permalinks, associated labels and any other page properties I can find.
A starter would be much appreciated.
Thanks
@Graham Foster See if this documentation about Confluence database model helps you: https://confluence.atlassian.com/doc/confluence-data-model-127369837.html
I also have link to this Confluence database schema pdf , for Confluence v6.x, which may be useful: https://svelab.com/download/confluence6_schema_mysqlviz.pdf
Thanks for the starter on this.
I don't suppose you can explain why all the weirdly named table prefixes can you (e..g AO_26DB7F) Are they in some way linked to tables used by plugin's perhaps? Is there a way of figuring out which plugin uses which tables? (like I'm interested in Scroll Versions as a plugin, as I suspect that the "permalinks" for their page identifiers must be held somewhere (but I can't find them!)
Thx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, the tables starting with prefixes like "AO..." belong to the plugins. I am not sure though which plugins they belong to ; you can search for each table name online, and you will come to know.
If you are looking for where page metadata like page IDs and their versions are stored, they are stored in "content" table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.