-
Notifications
You must be signed in to change notification settings - Fork 163
Having more than one internal schema on schema isolation is confusing #736
Comments
Thank you!
|
In my projects, I have settled on 5 schemas:
I think those three schemas (four including data) should be represented in the "schema isolation" part, because they are needed to understand the differences between
Each extension has it's own schema for me. That means it's immediately clear whenever I call a function from an extension, because it will always be prefixed with the extension's name. |
One quick question I have is how to manage different versions of an API. Here is my assumption:
I am including this thought in this thread because the assumption is that we can separate versions in different schemas. I believe this works if you adopt the practice of where you allow the public/exposted versions of the schema to introduce breaking changes; however, you ensure the private schema does not break any actively supported public schema versions. Curious to hear thoughts... Chuck |
I have not found a satisfying answer to that, yet.
Yes, absolutely. That makes a lot of sense.
Right. Also mentioned here: #69. A slightly different approach is discussed in PostgREST/postgrest#2166. |
Problem
Related to https://postgrest.org/en/stable/explanations/schema_isolation.html
See: https://matrix.to/#/!YGChDzXeYxtlBZqVsc:gitter.im/$V_mpHPVIPg_QJ2YMWWu7s3K5d1_WGmbcBwrdm2oaRxU?via=gitter.im&via=matrix.org&via=matrix.freyachat.eu
Solution
Just have one internal schema. Maybe add another one for "extensions".
The text was updated successfully, but these errors were encountered: