on 08/02/2005 05:53 PM Alexandre Miguel de Andrade Souza said the following:
> I developed a little script to admin scripts:
> sincronize from a db to another
> the schemas are created under metabase/schemas
> But I found problems:
> 1) When a database already exists in a DBMS it don't put the diferent
> values from the original database.
> 2) When the original (from) database/table has a field to be created in
> second, it does, but at the end of the list of the fields.
> it can cause some problems in applications that use insert into table
> values (,,,,,) without defined fields, just sequence.
> the problems above don't happen when the database (to) doesn't exist and
> is created.
> someone can help? or make any sugestions?
> the script is the below: admin_schemas.php in directory metabase.
This is interesting. Can you please upload it to the files are of the
metabase-dev mailing list?
PHP Classes - Free ready to use OOP components written in PHP
PHP Reviews - Reviews of PHP books and other products
Metastorage - Data object relational mapping layer generator