aurora-sim/Aurora-Sim — pull request #12 by SignpostMarv (2012-02-04 01:02:52+00:00)
Title: Code necessary for migrating DATE fields to INT(11) fields

I've been getting some issues with the token creation recently- seemingly related to MySQL's strict-mode operation. On further investigation, I noticed that the tokens table was using minute-based operations when the validity field was DATE, which doesn't include minutes.

The new migrator for the Auth table does an insert-select operation from the old table to the new table, performing a manual typecast on the fields.

IGenericData gets a new InsertSelect method, and the format date string method is now removed.