Replies: 2 comments 1 reply
-
@ArlonAntonius |
Beta Was this translation helpful? Give feedback.
1 reply
-
To the general issue. I would first try to map out how you want to structure things. Providing an "admin panel"-like experience is quite hard with this package as far as I remember. I think it comes down to you want to manually set the connection instead of completely setting the tenant. Going to CC Bert (@bkintanar) here; he probably knows from the top of his head :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am using hyn/multi-tenant,
this is what I've done
in main domain (system database)
when a user registered in the main domain (system connection), he is redirected to create a project.
Then I created a subdomain and database for each project in the backend (behind the scenes).
and every subdomain works fine.
in tenent domain (tenant database)
Every tenant database have a products table.
My question, how can the user (who created this project and I generated a subdomain and database for him) access his database (the tenant connection) from main website (system connection)?
It's kinda admin panel for the system user, he needs to manage his products in a tenant database?
How can I achieve that?
Am I doing something wrong here?
Do I need to change the database structure to do that, if yes, what I need to change?
Beta Was this translation helpful? Give feedback.
All reactions