more docs

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt 2024-01-16 05:46:56 +01:00
parent 3139774b66
commit 8287b05214
No known key found for this signature in database
GPG Key ID: 9C3FA22FABF1AA8D
1 changed files with 4 additions and 0 deletions

View File

@ -35,3 +35,7 @@ Expression policies currently have access to all tenants.
## Notes ## Notes
Upon creating another tenant, a new schema will be created by cloning the `template` schema. This special schema is like a tenant with no data created in it. Cloning an existing schema instead of creating a new one and running migrations on it is done for efficiency purposes. Upon creating another tenant, a new schema will be created by cloning the `template` schema. This special schema is like a tenant with no data created in it. Cloning an existing schema instead of creating a new one and running migrations on it is done for efficiency purposes.
Data stored in Redis (cache, tasks, locks) will usually get its keys prefixed by the `schema_name`.
Files are stored by-tenant, under a `schema_name` directory. For example, `/media/t_example`. The same is true regardless of the storage backend.