Comments (6)
Hi @laloweb99 - motor admin should display all tables which are present in your postgresql database automatically.
If you have some custom sql view in your Gorm application then you probably need to copy that sql code into motor admin queries to display it there.
from motor-admin.
I have the "papers" table on the public schema but is not being shown on motor admin. I'm running the docker compose. Is there a way to sync the tables on moto admin?
from motor-admin.
@laloweb99 it seems like you are using the same docker compose postgresql for motor admin configuration tables and for application data tables.
You need to make sure that motor admin is connected to the same docker compose database with papers table here (if that's what is intended):
http://localhost:3000/settings/database
But usually application data should be stored in a separate database (meaning that your papers table won't be in the same database with motor_admin_users table) - you can specify databases using this link http://localhost:3000/settings/database (might require to restart a server).
Please let me know if this solves the issue.
from motor-admin.
I moved the "papers" table to an app database but it's still not showing the "papers" resource:
Resources shown in motor admin
from motor-admin.
@laloweb99 apparently the table was not visible because it didn't contain a primary key.
This bug has been fixed in the latest 0.2.38 release - you can update your docker image with docker pull motoradmin/motoradmin:latest
from motor-admin.
Now it shows the table 😄 thank you so much!
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.