0 votes

I tried Skipper from few days. Previously I used MySQLWorkbench and I made my export with mysql-workbench-schema-export and I succeed to export columns default values only with Doctrine1 format not with Doctrine2.

I don't find any options to do this.

What are your Doctrine2 export options ?

Thanks

asked Jun 25 in Solved by cyberbougnat (120 points)
recategorized Jul 7 by ludek.vodicka

1 Answer

0 votes

By default doctrin2 doesn't support default values. This is the reason why you don't see these values.

If I remeber correctly there is some "hacky" way how to define SQL default values by column->options->default

answered Jun 25 by ludek.vodicka Skipper developer (125,470 points)

Thanks for your answer. The think that disturbed me is inside Skipper the export filter is named Doctrine2 but in fact the generated file format seems to be a Doctrine1.

Can you confirm this or not ?

Export for Doctrin2 is completely different than export for Doctrine1.

It's a different format and also with different file types. Doctrine1 supports only YML and Doctrine2 supports XML,YML and PHP annotations