You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 28, 2019. It is now read-only.
error code:
ALTER TABLE inventoryitems ADD CONSTRAINT fk_itempetid FOREIGN KEY (petid) REFERENCES pets (petid) ON DELETE SET NULL ; # thanks Optimist for noticing queries over petid taking too long, shavit for pointing out an improvement using foreign key
foreign key not exists.
: )
The text was updated successfully, but these errors were encountered:
error code:
ALTER TABLE
inventoryitems
ADD CONSTRAINTfk_itempetid
FOREIGN KEY (petid
) REFERENCESpets
(petid
) ON DELETE SET NULL ; # thanks Optimist for noticing queries over petid taking too long, shavit for pointing out an improvement using foreign keyforeign key not exists.
: )
The text was updated successfully, but these errors were encountered: