Database question about new table columns
- translation missing: en.field_DATETIME_LAST_CHG changed from 2013-12-12 14:05:04 to 2013-12-13 08:04:26
So, I'm guessing that Redmine is dynamically reading every column in that table and trying to display the information. Is there a way to easily fix this or is this behavior so deeply embedded in Redmine that it can't be undone? Is this possibly just a problem with how history records are being created or is it likely to pop up in other places as I add an extra field to the other tables?
Redmine version 2.3.2.stable
Ruby version 1.9.3-p448 (2013-06-27) [x86_64-linux]
Rails version 3.2.13
Database adapter Mysql2
EDIT: From what I've seen so far, it looks like this is just affecting the history records that are being inserted into the journal_details table.
It drove me crazy trying to figure out how to stop these records from being logged and retrieved until I remembered that Redmine has no database constraints. I just set a trigger to change the journal_id to one that doesn't exist. Problem solved.
CREATE TRIGGER journal_details_HIDE_DATETIME_LAST_CHG BEFORE INSERT ON journal_details
FOR EACH ROW
IF (NEW.PROP_KEY = 'DATETIME_LAST_CHG') THEN