Best Way to Model Integrations in Postgres?
Hey everyone, I need advice on modeling data for a system with multiple integrations.
Currently, I plan to support 4-5 integrations (e.g., BigCommerce, Shopify), each requiring unique information like API keys. For now, an organization can only have one integration, but I want to design the model so it’s easy to expand to multiple integrations per organization in the future.
I’m using Postgres and wondering about the best practices for structuring this. How should I model these integrations to handle their unique data while keeping things scalable and maintainable? Any suggestions or examples would be greatly appreciated!
This is my current setup it just holds it in a JSON which feels dirty
0 Replies