dbdesigner2cake : DBDesigner 4 Scaffold Tools for CakePHP – 1.0.6 – Minor Release
Posted: April 5th, 2008 | Author: Dérico Filho | Filed under: DBDesigner2CakePHP, Technology | 4 Comments »Hello All,
A minor release of dbdesigner2cake is available. Those who are using the release 1.0.5 or previous are recommended to upgrade to 1.0.6.
These issues were addressed:
- Changed the website on the license text from cirello.org/dbdesigner2cake to dbdesigner2cake.cirello.org
- Now it forces the PrimaryKey according to the XML
- strtolower’d table’s names.
- avoid a special condition on which a hasMany/belongsTo table would be somehow linked to a HABTM table. (workaround)
- Corrected few typos.
Well, as I usually finish such release notes:
You are welcome to download the 1.0.6 version at
http://dbdesigner2cake.cirello.org/download.html
Bye

[...] dbdesigner2cake : DBDesigner 4 Scaffold Tools for CakePHP – 1.0.6 – Minor Release | Dérico Filho – Now it forces the PrimaryKey according to the XML – strtolower’d table’s names. – avoid a special condition on which a hasMany/belongsTo table would be somehow linked to a HABTM table. (workaround) (tags: cakephp dbdesigner) [...]
I am trying to use this but I do not see hasOne in the code. You make reference to it but there is not actually hasOne being generated. So when User hasOne Profile instead it does a hasMany relationship.
@miamiphp:
This issue about hasOne relationship… Well, I am still trying to come up with some idea about it since a time. The problem is, I do not know yet how to tell to dbdesigner that a relationship is a hasOne or hasMany. Do you have any suggestions?
@miamiphp:
I mean, I know there’s a button. But I am still finding difficulties on parsing the XML output. The next release I think I’ll have it solved.