[DBAL-75] SchemaTool->getDropSchemaSql ignores schema name Created: 23/Nov/10  Updated: 12/Dec/10  Resolved: 12/Dec/10

Status: Resolved
Project: Doctrine DBAL
Component/s: Schema Managers
Affects Version/s: 2.0-RC4
Fix Version/s: 2.0-RC5

Type: Bug Priority: Minor
Reporter: Art Hundiak Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None



When including the schema name as part of the table name, i.e.

 * @Entity
 * @Table(name="ayso.players")
class PlayerItem

SchemaTool->getDropSchemaSql returns "DROP TABLE players" instead of "DROP TABLE ayso.players"

Furthermore, SchemaTool->getUpdateSchemaSql() always returns CREATE TABLE ayso.players followed by DROP TABLE players. It thinks there are two different tables.

Also, the online document still indicates that @Table accepts 'schema' as an attribute.

Comment by Benjamin Eberlei [ 12/Dec/10 ]

Moved to DBAL, its a DBAL issue.

Comment by Benjamin Eberlei [ 12/Dec/10 ]

Fixed in DBAL master, will be included for RC5. Then linked against ORM RC2

Generated at Wed Apr 16 07:25:05 UTC 2014 using JIRA 5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5.