Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database foreign key creation references wrong table #7

Open
screambeard opened this issue Jun 22, 2017 · 0 comments
Open

Database foreign key creation references wrong table #7

screambeard opened this issue Jun 22, 2017 · 0 comments

Comments

@screambeard
Copy link

The following code references the wrong table "lti_resource_link". This should be updated to "lti2_resource_link". Since this is tabel which is now created for The LTI-Tool-Provider library (see https://github.com/IMSGlobal/LTI-Tool-Provider-Library-PHP/wiki/Installation)

ALTER TABLE item
ADD CONSTRAINT item_lti_resource_link_FK1 FOREIGN KEY (resource_link_pk)
REFERENCES lti_resource_link (resource_link_pk)
ON UPDATE CASCADE;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant