db
db copied to clipboard
DB agnostic `ForeignKeyConstraint::getOnUpdate()` and `ForeignKeyConstraint::getOnDelete()`
Example for NO ACTION
:
- SQLite, latest MySQL and PostgreSQL -
NO ACTION
. - MySQL 5.7 -
RESTRICT
. - MS SQL -
NOACTION
. - Oracle -
null
/NO ACTION
.
Looks like predefined constants with appropriate values for each DBMS are needed. Related with #659?