Comments (9)
@DeolTito try to restart motor admin container in order to make the schema change take affect.
from motor-admin.
@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.
from motor-admin.
@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.
from motor-admin.
@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.
from motor-admin.
@DeolTito you can specify all your schemas separated with comma - "schema_one,schema_two"
from motor-admin.
@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?
from motor-admin.
@DeolTito the whole container should be restarted - docker restart container_name
You can simply try it on your local dev machine - it should work there.
If you deployed it straight to some containers service then you need to find some way to restart containers there.
from motor-admin.
@DeolTito the whole container should be restarted -
docker restart container_name
You can simply try it on your local dev machine - it should work there. If you deployed it straight to some containers service then you need to find some way to restart containers there.
That worked.
Just to confirm, does Motoradmin support only Postgres, Mysql and Microsoft SQL servers?
from motor-admin.
@DeolTito yep only mysql/postgres/sqlserver for now
from motor-admin.
Related Issues (20)
- Is possible customize locale in motor admin docker? HOT 1
- Defining postgres schemas not working HOT 1
- Motor Admin hides the resource for unknown reason, based on name maybe? HOT 1
- Duplicate Key Name Error 'motor_auditable_index' on Starting Docker Container HOT 1
- Permit cross-domain framing HOT 2
- Error when saving a reference HOT 4
- heic image not showing HOT 1
- Does the database connection support over SSL or over SSH? HOT 1
- Variable Support in Queries HOT 2
- Custom filters on queries HOT 1
- self hosted supabase/postgres connection timeout HOT 1
- Customise Data Display HOT 1
- Removing Motor Admin HOT 1
- Error when creating association HOT 2
- API endpoint Form submitting table data when used in action HOT 1
- Unknown Attribute for Image HOT 1
- How do custom action types work?
- Validation error when editing negative decimal
- Error connecting to CloudSQL PostgreSQL 15
- Conditional Rendering of Association
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from motor-admin.