infisical icon indicating copy to clipboard operation
infisical copied to clipboard

CreateJunctionTable checks for table and optional foreign key and better error handling

Open Ayush-Dutt-Sharma opened this issue 1 year ago • 1 comments

Description 📣

Fixed --> Function CreateJunctionTable is not checking, if the table already exists or not #2277

Condition to check for existing table Screenshot 2024-08-12 at 5 54 48 PM

Conditional Indexing on Foreign key Screenshot 2024-08-12 at 5 55 18 PM

Added better Error Handling

Type ✨

Ayush-Dutt-Sharma avatar Aug 12 '24 12:08 Ayush-Dutt-Sharma

@Ayush-Dutt-Sharma please remove the consoles also. Its not needed as i told knex providers a pretty elaborate error message when failing

akhilmhdh avatar Aug 19 '24 10:08 akhilmhdh