I tried to restrict selecting from 2 tables (see the full story here). I came to the conclusion that managed Postgres does not allow this.
That's why I created a deprecated schema, the users will not have access to it by default.
My plan is to move these tables to deprecated schema, hide them from all the users and see what happens.
We will still write the data to that tables.
If we break something important, we will grant access to the tables and consider how to fix it.
After a month of silence, we can drop them completely.
More tech details on what's going on here:
Added migration
Updated schema.patch so that it can generate the correct schema.rs file, it was a little broken
Add the explanation of how diesel works with several schemas (TLDR: it does not work with several schemas, I hacked it)
I will also need to update the features_enabled branch. Waiting for your review first
I tried to restrict selecting from 2 tables (see the full story here). I came to the conclusion that managed Postgres does not allow this. That's why I created a
deprecated
schema, the users will not have access to it by default.My plan is to move these tables to
deprecated
schema, hide them from all the users and see what happens. We will still write the data to that tables. If we break something important, we will grant access to the tables and consider how to fix it. After a month of silence, we can drop them completely.More tech details on what's going on here:
schema.patch
so that it can generate the correctschema.rs
file, it was a little brokenI will also need to update the
features_enabled
branch. Waiting for your review first