Top Level :: Database

Package Information: MDB2_Schema 0.3.0

Show All Changelogs
» Version » Information
0.8.2 2008-02-23     beta
0.8.1 2007-08-30     beta
0.8.0 2007-08-20     beta
0.7.2 2007-04-07     beta
0.7.1 2007-02-21     beta
0.7.0 2006-10-21     beta
0.6.0 2006-07-23     beta
0.5.0 2006-04-16     beta
0.4.3 2006-02-05     beta
0.4.2 2006-01-14     beta
0.4.1 2005-12-30     beta
0.4.0 2005-12-21     beta
0.3.0Download

Release date: 2005-10-10 10:56 UTC
Release state: beta

Changelog:

Warning: this is an intermediary release to address php 4.4/5.0.5. Some of the
new features still need a bit more tweaking.

- use MDB2::factory() by default instead of MDB2::connect()
- added support for auto increment and primary key in schema.
- alterTable now needs the full definition to work (use getTableFieldDefinition
from Reverse module if you do not have a definition at hand) this eliminates the need
of the declaration part in the alterTable array.
- typo fix (bug #4620)
- php 4.4.x/5.0.5 fixes
- updated getTableFieldDefinition() call to accomodate API changes in MDB2
- MDB2_Schema has its own error class and error codes
- made it easier to add new database backend to the example
- better handle removing of indexes on renamed columns in alterDatabaseTables()
- use array_key_exists() instead of isset() where possible
- restructured changes array to fix bugs due to inconsistency in the handling of array keys
- added ability to disable query for the alterDatabase()/createDatabase() call
in updateDatabase(). this is useful to generate an RDBMS specific SQL file
using a custom debug callback
- prefer "true" and "false" over "1" and "0"
- an emty default tag now implies NULL for nullable columns and an empty string
for NOT NULL columns

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.0b1 or newer
  • PEAR Package: XML_Parser
  • PEAR Package: MDB2 2.0.0beta6 or newer
  • PEAR Package: XML_DTD (optional)
0.2.0 2005-04-29     beta
0.1.0 2005-04-07     beta