Page 1 of 1
Data Model For Mantis
Posted: 10 Sep 2008, 12:38
by paulachinthpaul
Hi All,
Can anyone provide the data model for mantis.
Thanks in Advance,
Paul
Re: Data Model For Mantis
Posted: 15 Oct 2008, 03:46
by vboctor
Check the schema file:
mantisbt\admin\schema.php
Or you can export the schema from phpMyAdmin to get a SQL file with the tables structures / indices.
Re: Data Model For Mantis
Posted: 04 Jan 2009, 21:00
by Mophilly
This request seems to pop up from time to time. I have made a simple ERD for version 1.1.5 available at
http://www.mophilly.com/wiki/MantisBT_Data_Model.
I don't mean to mislead; I am not promising to keep this up to date. However, I will do so as our needs demand it. Also, there is a link on the page if you would like the source document used to create the image.
The model is roughly correct. I did not attempt to resolve all the relationships and dependencies nor annotate logical errors. Perhaps someday I will have the time when the muse visits. Until then, I hope you find this helpful.
Happy days,
- Mophilly
Re: Data Model For Mantis
Posted: 12 Jan 2009, 21:12
by mcraig88
That's very cool. Thanks for doing that. It seems that those relationships are not actually enforced in the database though. I'm running 1.1.1, are they enforced in later revisions?
Re: Data Model For Mantis
Posted: 26 Sep 2009, 16:57
by Mophilly
I don't really know. I am not involved as a developer, and reverse models are always a bit weak. I recently came across Aqua Data Studio which provides a pretty good modeling tool. Perhaps I can winnow some additional information if time allows.