Does Mantis use an ORM?

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
kismert
Posts: 3
Joined: 23 Jun 2016, 22:05

Does Mantis use an ORM?

Post by kismert »

Hello, all:

Looking at the Mantis install script for SQL Server, it looks like base tables are created in their original form, then are modified as the script goes on (columns added/dropped, indexes added/dropped).

Is this because Mantis is based on an ORM? If so, which does it use?

Why not just make a create script that makes all of the tables in their current form? You can then diff the database from that point on for upgrades.

Thanks,

-Ken
Last edited by kismert on 27 Jun 2016, 14:33, edited 1 time in total.
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Does Mantis us an ORM?

Post by atrol »

kismert wrote:Is this because Mantis is based on an ORM?
No
kismert wrote:You can then diff the database from that point on for upgrades.
This is exactly what we do.
There is just one set of sql-scripts and php-scripts which are used for new installations and for all upgrade installations since version 1.0.
Please use Search before posting and read the Manual
Post Reply