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
backend/src/db/utils.js
createJunctionTable --> it is not checking if the table already exists or not, Table1PrimaryKey and Table2PrimaryKey can be dynamic, for bigger files optional Indexing can make querying faster.
The text was updated successfully, but these errors were encountered:
Ayush-Dutt-Sharma
changed the title
Function CreateJunctionTable is not checking and if the table already exists or not
Function CreateJunctionTable is not checking, if the table already exists or not
Aug 12, 2024
Describe the bug
backend/src/db/utils.js
createJunctionTable --> it is not checking if the table already exists or not, Table1PrimaryKey and Table2PrimaryKey can be dynamic, for bigger files optional Indexing can make querying faster.
dropOnUpdateTrigger, createOnUpdateTrigger, dropUpdatedAtTriggerFunction, createUpdateAtTriggerFunction --> needs better error handling
To Reproduce
Steps to reproduce the behavior:
Screenshots
Platform you are having the issue on:
Code
The text was updated successfully, but these errors were encountered: