que-web icon indicating copy to clipboard operation
que-web copied to clipboard

Support Multitenanted schemas

Open guilherme-andrade opened this issue 4 years ago • 1 comments

Que inserts and reads jobs in the public schema by default (see this example in the source), but que-web does not mention the schema in queries. This conflicts with multi-tenancy rack middleware like apartment.

Would it be problematic to specify the DB schema in all SQL queries?

guilherme-andrade avatar Jan 21 '21 09:01 guilherme-andrade

Que inserts and reads jobs in the public schema by default (see this example in the source), but que-web does not mention the schema in queries. This conflicts with multi-tenancy rack middleware like apartment.

Would it be problematic to specify the DB schema in all SQL queries?

If que writes to public I think adding the schema in que-web makes sense.

statianzo avatar Feb 08 '21 17:02 statianzo