I thought that might be an answer around here :) I guess I was looking for what might be a better approach. Is dynamically creating a table for each entity a bad idea? I can see something like creating a schema for each project (group of related entities) and then creating a table for each schema. I don't expect having more then a few thousand projects anytime soon. We have a relatively targeted audience. Or would it be better to use jsonb data types and create a denormalized index elsewhere?
|