Skip to content

multi-tenancy & nonstandard schema #96

@elee1766

Description

@elee1766

would you be open to MR which supported multi-tenancy?

we have 20+ tenants per environment, and it would be really nice to just connect to all databases in one ui, and then switch between them within the app, instead of host 20 instances of the ui

i imagine something like you say #3 here would work best

{
    "prod": "postgres://.../prod?search_path=river0",
    "staging": "postgres://.../staging?search_path=river0"
}

with the name being encoded into the url. the schema should be declared as a search parameter in that url, so nothing special needs to be done i think for schema.

currently riverui doesn't even work for us since we use a non-standard schema. (although maybe i am using the wrong parameter to set it?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions