Forums / Extensions / How I can create a db_schema.dba file?

How I can create a db_schema.dba file?

Author Message

Israel Martín

Friday 14 January 2011 3:49:52 am

Hi!

I need create some tables and i would like make the db_schema.dba file but i don't know how to specify the table engine, charset and comment.

¿Have anybody an example of a db_schema.dba file with all the posibilities?.

Thanks!.

My personal site: http://israel-martin.es
eZ Publish Developer Basics Certification (4.4): http://ez.no/certification/verify/388211

Gaetano Giunta

Friday 14 January 2011 5:05:36 am

The ezsqldumpschema.php script in bin/php can create the dba file for you. Unfortunately it is not yet capable of dumping only a couple of tables instead of the whole db (but there is a feature request for that)

Principal Consultant International Business
Member of the Community Project Board

Israel Martín

Friday 14 January 2011 12:26:32 pm

I have been testing the ezsqldumpschema.php script and it works fine but the table engine, charset and comment, are not specified in the generated file... Maybe it isn't possible :( .

Thank you for help!

My personal site: http://israel-martin.es
eZ Publish Developer Basics Certification (4.4): http://ez.no/certification/verify/388211