-
Notifications
You must be signed in to change notification settings - Fork 43
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
Not able to create new records #18
Comments
i have the same problem, have u managed to solve it? |
Unfortunately not, i gave up on it and ended up creating my own admin panel |
hey @mechaadi you need to register mongoose adapter for working with db |
@amanzrx4, I was not using mongodb as my database, I was using postgre and hence used typeORM to create a connection with the following code:
So, the database adapter was configured properly, making it possible to run in the first run, but the issue came when I created new tables (I have also tried purging the whole DB and using a fresh one, same problem). I used this wrapper around typeORM for admin-bro: https://www.npmjs.com/package/@admin-bro/typeorm |
I am not able to save anything via the admin bro admin panel, I am able to read the data from all the available tables but not able to write anything to any table. Here are the network logs
The save button just keeps on showing the loading animation, it was working fine before but I had to create some more tables again and it stopped working, and yes, I have deleted the whole database and created a fresh one just in case, but no luck 😕
Here's the code of admin bro builder function
And here's the driver function which calls this function
Please help!
The text was updated successfully, but these errors were encountered: