Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

table prefix gets added to the class name #500

Closed
gossi opened this Issue Dec 7, 2013 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

gossi commented Dec 7, 2013

Hey there,

I had a quick test on propel2. I used a table prefix which gets prepended as class name, too. It doesn't matter where the prefix is defined, either build.properties or schema.xml, I tried them separately and both. phpName="" must be set in order to get a table name without the table prefix.

Maybe the same as here? propelorm/Propel#5

Owner

marcj commented Jan 7, 2014

Appears to me like a bug. I don't know how the old behavior is (Propel<=1.7), but think we can use the non-prefixed-tableName as default phpName now because table prefixes are usually used for scenarios where one has only one database/schema.

@marcj marcj added this to the alpha-3 milestone Mar 13, 2014

@marcj marcj closed this in 3a2467d Apr 10, 2014

mpscholten added a commit to mpscholten/Propel2 that referenced this issue Aug 24, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment