PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » MDB2_Schema

XML based database schema manager

This package is unmaintained.

Download latest release 0.8.6 (archived versions might be outdated)

License: BSD License

Description

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.

Documentation

Manual

Maintainers

Dependencies

Required

Optional

Releases

Bugs

IDStatusTypeVersionDateSummary
#3857No FeedbackBug2005-03-16MDB2_Tools_Manager, PostgreSQL and transactions
#4100BogusBug2005-04-07raiseError in the parser gives back wrong line count
#4101ClosedBug2005-04-07Database dropped on error.
#4132ClosedBug2005-04-12Better error message/detection.
#4169ClosedBug2005-04-17Undefined function comparedefintion
#4170ClosedBug2005-04-17MDB2_Tools_Manager_Writer fails to write the sequence definition correctly
#4351ClosedBug2005-05-15notnull -> false needs a default value
#4598BogusBug2005-06-15dumpDatabase fails on DB_NestedSet sequences
#4620ClosedBug2005-06-17Spelling error
#4650Wont fixReq2005-06-21auto_increment fields not created on mysql
#5976BogusReq2005-11-15"create" tag. Why?
#5977ClosedBug2005-11-15Error in updateDatabase()/verifyAlterDatabase()
#6053ClosedBug2005-11-24create sequence error and a warning
#6397ClosedBug2006-01-02wrong boolean default value recognition
#6401ClosedBug2006-01-03dumpDatabase() and primary keys
#6416ClosedBug2006-01-05dumpDatabase() and CURRENT_TIMESTAMP
#6481ClosedBug2006-01-12<create/> tag behaves differently with several drivers
#7596ClosedBug0.5.02006-05-10clob fields are generated with <default>
#7756ClosedBug0.5.02006-05-30Error on reading schema file not catched
#7758ClosedBug0.5.02006-05-30Wrong array format expected in createTableIndexes()
#7890ClosedBug0.5.02006-06-13Generated Schema Does not Validate Against DTD
#7901ClosedBug0.5.02006-06-14Schema Update Fails
#8043BogusBug0.5.02006-06-27getDefinitionFromDatabase Missing Indexes
#8074ClosedReq0.5.02006-06-29Column Defaults
#8075OpenReq0.5.02006-06-29FULLTEXT Support
#8288SuspendedReq0.6.02006-07-25updateDatabase() fully compares XML files; a date check would be faster
#8429ClosedBug0.6.02006-08-14bad handling of tables named 'update'
#8645OpenReq0.6.02006-09-06Add support for Views
#8820ClosedBug0.6.02006-09-30compareDefintion() problem
#9131No FeedbackBugCVS2006-10-22writeInitialization() doesnt work - Bug in Parser?
#9172ClosedBug0.7.02006-10-26MDB2_Schema::quoteIdentifier() undefined!
#9181ClosedReq0.7.02006-10-27Boolean Y in XML not working
#9348BogusBug0.7.02006-11-16parsing datas containing some < é ...
#9390BogusReq0.16.122006-11-20UTF-8 Support
#9435ClosedBug0.7.02006-11-23Having initialization and declaration in seperated files doesn't work anymore
#9452OpenReq0.7.02006-11-25Table charset, collation, engine options
#9861DuplicateBug2007-01-17Call to undefined method
#9877BogusBug0.7.02007-01-19Code bug,mast by repaired
#9889BogusBug0.7.02007-01-20Udefined function DB_SCHEMA::insertQuote()
#10122AssignedReq0.7.02007-02-19xinclude in schema files
#10195ClosedBugCVS2007-02-26Identifiers quoting problem
#10226ClosedReq0.7.12007-02-28example.php should echo xml when no filename is given
#10278ClosedReq0.7.12007-03-06Allow options to be passed in when creating tables
#10285ClosedBug0.7.12007-03-06MDB2_Schema::createTableIndexes() ignores indexes
#10296ClosedReq0.7.12007-03-07Existence of a single index results in no further index creation
#10457ClosedBug0.7.12007-03-22Dumping database from MySQL is not database agnositc re: Primary Keys
#10460BogusBug0.7.12007-03-22updateDatabase
#10475ClosedReqCVS2007-03-23Handle 'scale' value in DECIMAL field definition
#10892ClosedReq0.7.22007-04-30Prepare for making rollback of an updated database
#11011BogusBug0.7.22007-05-11Problems with createDatabase() and fields of type TEXT
#11310BogusBugCVS2007-06-13Parse Error
#11600ClosedBug0.7.22007-07-13updateDatabase() aborts if <was> column is not found
#11604ClosedBug2007-07-13Primary Key is removed when updating a table against its XML
#11676ClosedReq0.7.22007-07-23Schema Parser does not handle XML entities correctly (lost data)
#11696OpenBugCVS2007-07-28getDefinitionFromDatabase() ends with ROLLBACK, without START TRANSACTION
#11777BogusBug0.7.22007-08-06parseDatabaseDefinitionFile fails to parse primary keys
#11810No FeedbackBug0.7.22007-08-10Fails with no message
#11848No FeedbackBug0.8.02007-08-15Failing to connect on OCI8
#11891No FeedbackBug0.8.02007-08-22Changing a property of a primary key column fails in MySQL
#11894ClosedDoc2007-08-23User note that is a documentation problem
#11895ClosedDoc2007-08-23User note that is a documentation problem
#11913ClosedReq0.8.02007-08-28Command line tool
#11920ClosedBug0.8.02007-08-28After database creation, sqlite db connection not usable
#11961AssignedReqCVS2007-09-01Custom Field Type
#11962ClosedDoc0.8.12007-09-02$this used, but not in object context
#11972BogusBug0.8.12007-09-04package.xml broken
#12154AssignedReqCVS2007-09-30Multi-column primary key validation error
#12261ClosedDoc0.8.12007-10-16xsl transformation chooses wrong value for length
#12540ClosedReq2007-11-28Index length tag not documented
#12636ClosedReqCVS2007-12-07MDB2_Schema without need "SHOW Database privilege"!
#12908ClosedReqCVS2008-01-14Supporting Database charset
#12950ClosedBugCVS2008-01-21writeInitialization method not work some times
#13037ClosedBugCVS2008-02-01use quoteIdentifier in getInstructionFields method
#13073ClosedReqCVS2008-02-06use databaseExists and compatible with new changes in MDB2
#13359BogusBug0.8.22008-03-09Call to undefined method MDB2_Driver_Manager_mysqli::alterDatabase()
#13387No FeedbackBug2008-03-13mssql - BEGIN TRANSACTION not include
#13397ClosedBugCVS2008-03-15bug in alterTable
#13411FeedbackReq0.8.22008-03-17Allow additional constructor parameters when using custom parser?
#13544OpenReq0.8.22008-03-31Default Timestamp Problems
#13562ClosedBug0.8.22008-04-02Missing sequences on database dump
#13608ClosedBug0.8.22008-04-06Obsolete tables and sequences not dropped on updateDatabase()
#13631ClosedDoc0.8.22008-04-09Wrong MDB2 version depency
#13779AssignedReq0.8.22008-04-26Cannot pass createTable options on alterDatabaseTables
#13836ClosedBug0.8.22008-05-04updateDatabase() does not remove default
#13936ClosedReq0.8.22008-05-18Foreign Keys Support?
#13977ClosedBug0.8.22008-05-24Cannot add UNIQUE attribute to an existing index
#14052ClosedBug0.8.22008-06-03MDB2_Schema Error: schema validation error
#14209OpenBug0.8.22008-06-23Default portability options not suitable for upgrading
#14213ClosedBug0.8.22008-06-23Schema silently altered when autoincrement field is not primary key
#14581Wont fixBug0.8.22008-09-01Parse Error
#14650BogusReq0.8.22008-09-16Allow empty timesstamp defaults
#14686ClosedDocCVS2008-09-22External Package Homepage is B0rk3d
#14985OpenReq0.8.22008-11-10Problems with atomic index updates
#15055ClosedBug0.8.32008-11-17PHP Warning in validateTable()
#15064VerifiedReqCVS2008-11-18Improve PHPCS results?
#15189ClosedDocCVS2008-11-29Some missing documentation for methods
#15213No FeedbackBug0.8.42008-12-02Error when restoring database (OCI8)
#15276OpenBugCVS2008-12-09Upgrading setting NOT NULL column default value to NULL
#15278ClosedReqCVS2008-12-09Add option to not drop existing tables
#15886OpenReq2009-02-09Import Problem with Foreign Keys
#15923ClosedBug0.8.42009-02-20Cannot download or install package through 'pear' command
#16016DuplicateBug0.8.52009-03-11Issue with field validation length
#16258OpenReq0.8.52009-05-24foreign key not supported in updateDatabase()
#16361OpenReq0.8.52009-06-22SPATIAL support.
#17849OpenBug0.8.52010-09-07Assigning an empty string to the default value
#19214ClosedBugSVN2012-01-10Rework unit tests to work under PHPUnit 3.6 & Jenkins
#19676FeedbackBug0.8.52012-10-26Postgresql Alter table remove autoincrement
#21073AssignedBug0.8.62016-06-01Cannot be installed using composer