This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Extensions » How I can create a db_schema.dba file?
expandshrink

How I can create a db_schema.dba file?

How I can create a db_schema.dba file?

Friday 14 January 2011 12:49:52 pm - 2 replies

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!.

Modified on Friday 14 January 2011 12:59:07 pm by Israel Martín

Friday 14 January 2011 2:05:36 pm

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)

Friday 14 January 2011 9: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 sad.gif Emoticon .

Thank you for help!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from