CareSet / DURC

DURC is reverse CRUD
MIT License
3 stars 2 forks source link

Integer field picked up as linking id even thought it does not end in _id #41

Open ftrotter opened 5 years ago

ftrotter commented 5 years ago

So the logic should be that is_linked_key will be false unless the field ends in _id. (or perhaps when an actual foreign key exists).

But on statuspresent https://github.com/ftrotter/newstatuspresent/

the 'presentorder' integer 11 field is being treated like an ID.

Of course there is no table to link to and this causes the front-end to have a "select2" drop down for what should just be a number field.