db icon indicating copy to clipboard operation
db copied to clipboard

DB agnostic `ForeignKeyConstraint::getOnUpdate()` and `ForeignKeyConstraint::getOnDelete()`

Open arogachev opened this issue 1 year ago • 1 comments

Example for NO ACTION:

  • SQLite, latest MySQL and PostgreSQL - NO ACTION.
  • MySQL 5.7 - RESTRICT.
  • MS SQL - NOACTION.
  • Oracle - null / NO ACTION.

arogachev avatar Aug 13 '23 07:08 arogachev

Looks like predefined constants with appropriate values for each DBMS are needed. Related with #659?

Tigrov avatar Aug 13 '23 09:08 Tigrov