Skip to content

[Multi-Tenant] backend tenants table #3103

@njlie

Description

@njlie

Multi-Tenancy is based on a mapping of tenant ids to api secrets and endpoints. It should also maintain rows for some basic out-of-band identifying information.

The schema for the tenants table is as follows:

tenants {
  id: uuid
  email: string
  publicName: string
  apiSecret: string
}
  • Create migration for backend tenant table
  • Create model.ts file for tenant table

Metadata

Metadata

Assignees

Labels

pkg: backendChanges in the backend package.

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions