On Apr 2, 5:47 pm, Tom Haskins-Vaughan <[EMAIL PROTECTED]>
wrote:
> * propel-generate-schema generates the schema.yml file from a given
It's probably a mistake, you wanted propel-build-schema. It does work,
but it generates schema.yml for
all tables in the given schema. It can be less then practical if you
need 3 tables out of 100 tables.
I ran propel-build-schema and I'll adjust the output of my script to
behave just like the propel generator.
I find several defficiencies:
1) It generates all names in capital letters, producing the module
name also in capitals.
I prefer lower case letters.
2) It doesn't go through sequences and it doesn't generate
"autoIncrement" clause for
numeric primary keys.
3) Scale and precision are generated incorrectly for all columns of
the NUMBER type.
It's very useful, but I believe that my script can be helpful in
situations where only a small percentage of
tables is wanted, as well as in the cases when I want to include
things other then tables, like views.
Including views makes sense for reporting and the primary action is,
of course, "list".
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---