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
Does Mantis use an ORM?
Moderators: Developer, Contributor
Does Mantis use an ORM?
Last edited by kismert on 27 Jun 2016, 14:33, edited 1 time in total.
Re: Does Mantis us an ORM?
Nokismert wrote:Is this because Mantis is based on an ORM?
This is exactly what we do.kismert wrote:You can then diff the database from that point on for upgrades.
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.