How is the Mantis database structured?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
juan.arias
Posts: 3
Joined: 25 May 2023, 13:28

How is the Mantis database structured?

Post by juan.arias »

Hello,

I need help please if you can tell me if there is any documentation of the mantis database, such as some metadata or relational model in order to understand how the databases are structured and how their information can be extracted.

Thank you.
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How is the Mantis database structured?

Post by atrol »

See https://www.mantisbt.org/docs/erd/latest.pdf
Use direct access to the database just, if you are really knowing what you are doing.
E.g. there are no foreign key constraints in the database!
Whenever possible use the REST and/or SOAP API to manipulate data, or use the internal PHP API (check folder "core" for that) in a plugin.
Please use Search before posting and read the Manual
Post Reply