Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include Tenant in the database model #1

Open
machristie opened this issue Feb 1, 2023 · 0 comments
Open

Include Tenant in the database model #1

machristie opened this issue Feb 1, 2023 · 0 comments

Comments

@machristie
Copy link
Contributor

Create a TenantEntity to model tenants and include a FK to tenants in UserEntity and we'll also need this for MetadataSchemaEntity as well. MetadataSchemaEntity.name will need to be unique for a given tenant_id. See https://gist.github.com/machristie/0c7e28f11347d735f5517c3b5bf14d57 for schema design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant