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.
Activity
Art Hundiak
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
When including the schema name as part of the table name, i.e. {code} /** * @Entity * @Table(name="ayso.players") */ class PlayerItem {code} 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 think there are two different tables. Also, the online document still indicates that @Table accepts 'schema' as an attribute. |
When including the schema name as part of the table name, i.e. {code} /** * @Entity * @Table(name="ayso.players") */ class PlayerItem {code} 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. |
Benjamin Eberlei
made changes -
Benjamin Eberlei
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Roman S. Borschel [ romanb ] | Benjamin Eberlei [ beberlei ] |
| Fix Version/s | 2.0-RC5 [ 10113 ] | |
| Resolution | Fixed [ 1 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 12143 ] | jira-feedback2 [ 17677 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 17677 ] | jira-feedback3 [ 20032 ] |
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
- Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DBAL-75, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
Moved to DBAL, its a DBAL issue.