Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Schema Managers
-
Labels:None
Description
If database has ON DELETE CASCADE, schema tool detects change to NO ACTION and RESCRICT.
If database has ON DELETE RESCRICT, schema tool detects change only in case of CASCADE.
If database has ON DELETE NO ACTION, schema tool detect change only in case of CASCADE.
Detecting of changes is done by:
doctrine orm:schema-tool update --dump-sql
and
doctrine orm:validate-schema
Activity
Roman S. Borschel
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Roman S. Borschel [ romanb ] | Benjamin Eberlei [ beberlei ] |
Jan Obrátil
made changes -
| Attachment | Example.php [ 10736 ] |
Benjamin Eberlei
made changes -
| Project | Doctrine 2 - ORM [ 10032 ] | Doctrine DBAL [ 10040 ] |
| Key | DDC-743 | DBAL-58 |
| Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
| Affects Version/s | 2.0-BETA2 [ 10050 ] | |
| Component/s | Schema Managers [ 10057 ] | |
| Component/s | ORM [ 10012 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 11754 ] | jira-feedback2 [ 17562 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 17562 ] | jira-feedback3 [ 19916 ] |
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-58, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
which database version do yo uuse? can you paste an example schema?