Open laurentszyster opened 9 years ago
Note that MySQL default storage ignores FOREIGN KEY constraints altogether.
To let MySQL applications implement referential integrity themselves, the delete
method should support a cascade
option that maps the related table's references.
Following up on https://github.com/unframed/SQLAbstract.php/issues/4, JSONModel must generate SQL constraints.
First the PRIMARY KEY constraint.
Then FOREIGN KEY constraints.