[ANNOUNCEMENT] MDB2_Schema-0.3.0 (beta) Released.
| From: | PEAR Announce | Date: | Mon, 10 Oct 2005 10:56:52 +0000 |
| Subject: | [ANNOUNCEMENT] MDB2_Schema-0.3.0 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-21321@lists.php.net to get a copy of this message | ||
The new PEAR package MDB2_Schema-0.3.0 (beta) has been released at http://pear.php.net/.
Release notes
-------------
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
Package Info
-------------
PEAR::MDB2_Schema enables users to maintain RDBMS independant schema
files in XML that can be used to create, alter and drop database entities
and insert data into a database. Reverse engineering database schemas from
existing databases is also supported. The format is compatible with both
PEAR::MDB and Metabase.
Related Links
-------------
Package home: http://pear.php.net/package/MDB2_Schema
Changelog: http://pear.php.net/package/MDB2_Schema/download/0.3.0
Download: http://pear.php.net/get/MDB2_Schema-0.3.0.tgz
Authors
-------------
Lukas Smith <smith@pooteeweet.org> (lead)