You can try with alternative schema syntax: http://www.symfony-project.org/cookbook/1_2/en/alternative_schema
cheers Massimiliano On 17 Mar, 17:37, Brandon Turner <btur...@bltweb.net> wrote: > I'm using Propel in Symfony 1.3.3. If I have a database table named > 'myDatabaseTable' and would like the propel generated classname to be > "MyDatabaseTable", does anyone know how I can do this? Currently, > propel generates "Mydatabasetable" for the classname. > > I have tried using the phpName table attribute but it does not work due > to this two year old bug:http://trac.symfony-project.org/ticket/4156 > > Here is a snippet from my schema: > > schema.yml > > propel: > myDatabaseTable: > _attributes: { phpName: MyDatabaseTable } > id: { type: Integer, required: true, primaryKey: true, > autoIncrement: true } > amount: { type: Integer } > > Thanks for any help. For the past two years I've just been commenting > out the lines indicated in ticket #4156, but I'd like to do this > correctly as I migrate to 1.4. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en