-
Notifications
You must be signed in to change notification settings - Fork 148
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
Schemas #38
Comments
@DeolTito try to restart motor admin container in order to make the schema change take affect. |
Does that mean, we will have to restart the container all the time if we wish to add a new schema? As the volume is mapped on to the host machine, I don't think restarting the container would have any affect as it will pull same contents again. |
@DeolTito defined schemas are a part of postgresql DB connection URL - motor admin doesn't reconnect to apply new schemas automatically - you need to restart motor admin server so it connects to the DB with new schemas list. |
Can we add multiple schemas at once? I've tried that most of the tables weren't fetched. |
@DeolTito you can specify all your schemas separated with comma - "schema_one,schema_two" |
Yes, I've tried that already but all the tables are fetched from the remote server. That said, are you talking about restarting the whole server/container for adding the new schema or just a particular service under it? |
@DeolTito the whole container should be restarted - |
That worked. Just to confirm, does Motoradmin support only Postgres, Mysql and Microsoft SQL servers? |
@DeolTito yep only mysql/postgres/sqlserver for now |
Hello,
I've deployed motoradmin on my container and it worked fine. However, I encountered an issue while switching the schemas under it. By default, they have fetched the tables under the public at first and when I tried to change the schema from public to one of my custom one, the tables aren't listed. I've decommissioned the container and started from scratch. During the initial process, I've tried adding the custom schema and fetched the tables. But again,we won't be able to add a new scheme.
Is there any solution for this?
The text was updated successfully, but these errors were encountered: