I’m trying to create a database where some tables must be completely independent of some others.
I’m grouping them in different schemas (lets say…one is for cars, other for bikes, etc)
so I can have bikes.models and cars.models and I want to make sure these 2 are completely independent.
Is there any way to guarantee this?
Someone with appropriate permissions will always be able to create a FK constraint between the tables.
Don’t grant permissions to someone that would do that in error or set up different databases for these different groups of entities instead.