mysql - How to organize external API database relation keys in a database design? -


i'm sole developer of football (soccer) website. due that, bought access football api provides football data competitions favorite team in.

this api exposes looks database primary , foreign keys in results. fetching data done integer ids. query string of normal request this:

?action=commentaries&match_id=[match_id]

how should store these kinds of api primary , foreign keys in own database design? make sense adopt match_id primary key in own match table, should store foreign key, or should entirely different? there best practices on external data dependencies?

this 1 api sole datasource @ moment, might change in future.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -