Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0-RC4
-
Fix Version/s: 2.0-RC5
-
Component/s: Schema Managers
-
Labels:None
-
Environment:NA
Description
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.
Moved to DBAL, its a DBAL issue.