Skip to content

Commit

Permalink
iss128:correct reference tables for foreign keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Amrita1991 committed Feb 18, 2025
1 parent 3d3cd42 commit 562092a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<FIELD NAME="allowanonymous" TYPE="binary" NOTNULL="false" SEQUENCE="false" COMMENT="allowing anonymous posting"/>
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
<KEY NAME="primary" TYPE="primary" FIELDS="id" COMMENT="Primary key for pdfannotator_default_setting"/>
</KEYS>
</TABLE>
<TABLE NAME="pdfannotator_comments" COMMENT="Saves the comments to each annotation">
Expand All @@ -52,7 +52,7 @@
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
<KEY NAME="annotationid" TYPE="foreign" FIELDS="annotationid" REFTABLE="annotations" REFFIELDS="id" COMMENT="Foreign Key for annotationid to annotations table"/>
<KEY NAME="annotationid" TYPE="foreign" FIELDS="annotationid" REFTABLE="pdfannotator_annotations" REFFIELDS="id" COMMENT="Foreign Key for annotationid to annotations table"/>
<KEY NAME="pdfannotatorid" TYPE="foreign" FIELDS="pdfannotatorid" REFTABLE="pdfannotator" REFFIELDS="id"/>
</KEYS>
<INDEXES>
Expand Down Expand Up @@ -125,7 +125,7 @@
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
<KEY NAME="annotationid" TYPE="foreign" FIELDS="annotationid" REFTABLE="annotationsneu" REFFIELDS="id"/>
<KEY NAME="annotationid" TYPE="foreign" FIELDS="annotationid" REFTABLE="pdfannotator_annotations" REFFIELDS="id"/>
</KEYS>
</TABLE>
</TABLES>
Expand Down

0 comments on commit 562092a

Please sign in to comment.