Giter Site home page Giter Site logo

Schemas about motor-admin HOT 9 CLOSED

motor-admin avatar motor-admin commented on May 22, 2024
Schemas

from motor-admin.

Comments (9)

omohokcoj avatar omohokcoj commented on May 22, 2024

@DeolTito try to restart motor admin container in order to make the schema change take affect.

from motor-admin.

DeolTito avatar DeolTito commented on May 22, 2024

@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.

omohokcoj avatar omohokcoj commented on May 22, 2024

@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 avatar DeolTito commented on May 22, 2024

@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.

omohokcoj avatar omohokcoj commented on May 22, 2024

@DeolTito you can specify all your schemas separated with comma - "schema_one,schema_two"

from motor-admin.

DeolTito avatar DeolTito commented on May 22, 2024

@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.

omohokcoj avatar omohokcoj commented on May 22, 2024

@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 avatar DeolTito commented on May 22, 2024

@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.

omohokcoj avatar omohokcoj commented on May 22, 2024

@DeolTito yep only mysql/postgres/sqlserver for now

from motor-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.