gabordemooij/redbean — pull request #182 by zebulon303 (2012-07-23 09:03:33+00:00)
Title: Updated + correction about date and timestamp

Hi, there is a small problem with the tests on in the file Base/foreignkeys.php as the oracle identifiers are limited to 30 character ....

At the moment I cut everything that is longer with the method (QueryWriter/Oracle.php)
private function limitOracleIdentifierLength($id) {
return substr($id, 0, 30);
}

without warning ....
It is applied on foreign key and indexes, that could cause trouble. I am aware of it.
A solution would be to md5 the index and foreign key to make them unique, but we would loose the semanitc .... I am not sure of the way to go ...