Ticket #1234 (closed defect: fixed)
Application-level cascade definition throws Doctrine_Import_Exception in schema file
| Reported by: | Mosh | Owned by: | jwage |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Schema Files | Version: | 0.11.0 |
| Keywords: | cascade schema validation | Cc: | |
| Has Test: | no | Status: | Pending Core Response |
| Has Patch: | no |
Description
Trying to define application-level cascade in schema file throws Doctrine_Import_Exception:
Example schema.yml:
...
User:
columns:
id:
primary: true
autoincrement: true
type: integer(4)
group_id:
type: integer(4)
relations:
Group:
cascade: [delete]
...
Building models will throw Doctrine_Import_Exception with message
Invalid schema element named "cascade"
Change History
Note: See
TracTickets for help on using
tickets.