Hello,
Just wondering why when creating a new Mantis database the date columns are INT or NUMBER based on your database type. It makes upgrading from an older version of Mantis very difficult. Can the datatypes be changed back manually or will this break the interface functionality.
Thanks
Chris
Date Fields are now Integers/Numbers
Moderators: Developer, Contributor
Re: Date Fields are now Integers/Numbers
Difficult? Just run admin/install.phpctownend wrote:It makes upgrading from an older version of Mantis very difficult.
http://www.mantisbt.org/docs/master-1.2 ... LL.UPGRADE
This will break functionality.ctownend wrote:Can the datatypes be changed back manually or will this break the interface functionality.
Re: Date Fields are now Integers/Numbers
I should have mentioned that our old version of mantis was using mysql but we want the newer version to be running on Oracle. I have migrated the database from mysql to oracle using SQL Developer, modified the table names to meet oracle standards and updated all of the triggers. When trying to run the mantis upgrade I get an error ALTER TABLE m_bug_table ADD (due_date DATE DEFAULT null NOT NULL) ORA-01758: table must be empty to add mandatory (NOT NULL) column. I am using the latest branch of mantis for oracle.
Re: Date Fields are now Integers/Numbers
I don't use Oracle with MantisBT.
There are various known issues using Oracle, have a look at http://www.mantisbt.org/bugs and filter by category "db oracle"
Maybe a better approach is to run the upgrade in MySQL before migrating to Oracle.
There are various known issues using Oracle, have a look at http://www.mantisbt.org/bugs and filter by category "db oracle"
Maybe a better approach is to run the upgrade in MySQL before migrating to Oracle.