DatabaseSchema: ChangeLog
[ ]
[ ]
[ ]
[ ]
[ ]
- Fixed issue #12937: PersistentObject definition writer now creates correct
PHP type definition for non-number primary keys.
- Fixed issue #13072: SQLite schema reader does not work with uppercase type
names.
- Implemented issue #10069: DatabaseSchema only for particular tables.
- Implemented issue #10364: Added support for table name prefixes.
- Implemented issue #11562: Schema validator for duplicate index names.
- Implemented issue #12694: Replace reflection test for class type with SPL
function.
- Fixed bug #12538: No warning is thrown when an unsupported type is found
while reading from a database, or writing to a database.
- Documented issue #10161: Column names are always lowercase.
- Fixed issue #11442: Make the intention of the DatabaseSchema component
clearer in the documentation.
- Fixed bug #12022: PersistentObjectDatabaseSchemaTiein not passing it's
tests. (Whitespace changes in generated PersistentObject definitions made
PersistentObjectDatabaseSchemaTiein fail.)
- Implemented feature #11047: Make ConvertToDDL() methods accept the database
name instead of only the database handler.
- Fixed bug #11281: DatabaseSchema's XML reader does not understand '1' for
the notnull, autoincrement and unsigned fields.
- Fixed bug #11282: DatabaseSchema's SQLite reader doesn't understand the
float and varchar data types.
- Fixed bug #11283: DatabaseSchema's PersistentObject definition writer
generates a sequence generater even when the field is not auto-increment.
- Fixed bug #11285: Documentation example code comment glitch.
- Fixed issue #11059: PersistentObjectDatabaseSchemaTiein: Boolean fields not
recognized correctly.
- Documentation updates.
- Fixed issue #10768: PersistentObjectDatabaseSchemaTiein: Class prefix not
reflected in definition file names.
- Fixed issue #10769: PersistentObjectDatabaseSchemaTiein: Generated
getState() expects parameter.
- Fixed issue #10804: Adding auto increment to field fails with Oracle and
SQLite.
- Fixed issue #10113: Testing DatabaseSchema silently quits.
- Fixed issue #10115: Reserved keywords are not quoted when used as table
or field names.
- Fixed issue #10286: Missing "throw new" before
ezcBaseFilePermissionException.
- Fixed issue #10365: "true" and "false" are handled incorrectly while parsing
schemas from XML files.
- Fixed issue #10398: Oracle tests of DatabaseSchema run into error.
- Fixed issue #10548: DatabaseSchema uses different sequence names for Oracle
and PostgreSQL.
- Fixed issue #10630: Call-time pass-by-reference warning in Oracle handler.
- Implemented feature #9584: Switch for overwriting files.
(PersistentObjectDatabaseSchemaTiein)
- Implemented feature #9874: ezcDbSchema[DB]Reader custom table schema class.
- Implemented feature #8418: Generate class files as well.
(PersistentObjectDatabaseSchemaTiein)
- Added support for Oracle.
- Fixed issue #8499: PersistentObjectDatabaseSchemaTiein rungenerator.php
overwrites files without warning.
- Fixed issue #9465: Fixed data type mapping. Based on a patch by Friedel
Hill.
- Fixed issue #9489: Check whether the PersistentObject and
PersistentObjectDatabaseSchemaTiein tutorials are interlinked.
- Fixed issue #9541: Tutorial introduction incorrect.
- Fixed issue #9819: Let all components deal with the ezcBaseAutoloadException
properly.
- Fixed SQL syntax issues when working with PostgreSQL 7.x.
- Added support for PostgreSQL and SQLite.
- Added support for default column values in the MySQL handler.
- Added feature #8744: Changed the ezcDbSchema::getSchema() method to
return the schema as a reference, so that it can be modified properly.
- Fixed getting a PDOException when executing queries in the MySQL handler.
- Fixed issue #8650: No exception is thrown when writing database schema files
to non-writable directories.
- Fixed issue #9322: PostgreSQL and SQLite handler issues.
- Fixed bug #8900: Problem with auto increment and primary keys for MySQL
because the skip_primary context was not reset for new tables.
- Added a new validator to check whether columns marked as 'auto_increment'
actually have a primary key defined as well.
- Implemented FR #8901: Written schemas should indent the XML.
- Refactored the structs to use the new ezcBaseStruct class.
- Fixed a bug that an empty 'is null value' string in the database caused a
PHP warning.
- Updated documentation and added the tutorial.
- Added the ezcDbSchemaPersistentWriter class that writes schema definitions
for the PersistentObject component.
- Fixed a small bug in the MySQL reader where the "decimal" type was not
understood.
- Refactored code:
- Changed code to use structs instead of associative arrays everywhere.
- Reworked the general APIs of the classes.
- Changed code to use new exception standards.
- Initial release of this package.
Last updated: Wed, 18 Jun 2008