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

Problem with foreign keys #98

Open
gigadep opened this issue Sep 22, 2023 · 0 comments
Open

Problem with foreign keys #98

gigadep opened this issue Sep 22, 2023 · 0 comments

Comments

@gigadep
Copy link

gigadep commented Sep 22, 2023

Hi,

We implemented the plugin PDF Annotation Activity on our Moodle (Version 4.2.2)

In Site Administration > Development > XMLDB Editor > Check foreign keys, I have 2 messages :
"The annotationid foreign key on the pdfannotator_comments table references a nonexistent annotations table"
"The annotationid foreign key on the pdfannotator_subscriptions table references a nonexistent annotationsneu table"

Posting this question on the french forum (), , Christian BOCQUET gives the answer to the problem.

in the file pdfannotator/db/install.xml :
replace line 55, REFTABLE="annotations" by REFTABLE="pdfannotator_annotations"
replace line 128, REFTABLE="annotationsneu" by REFTABLE="pdfannotator_annotations"

Since I changed these lines, I don't have any message...

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