News for hackers. Stuff that matters.
Re:PostgREST: REST API for any Postgres database by taffer on Sunday November 22, 2020 @02:25PM (#25180227)
The PostgREST documentation makes it pretty clear that for decoupling and security reasons the data schema should be separated from the API schema. You should only provide the client with views and functions and keep all data in a separate schema. This also solves the versioning problem, because if your API schema is separate from your data, you can simply drop and re-create the entire schema for deployment without needing migrations.

There are no comments on this comment yet.