• Suggestion:
    You could add a foreign key constraint to the domains table, to connect the domains to the license table.
    Then if you add an “ON DELETE CASCADE” you do not need to delete domains when you delete a license.
    something like this:
    FOREIGN KEY (Id) REFERENCES licensesTable(Id) ON DELETE CASCADE

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add foreign key constraint to domains table’ is closed to new replies.