Andres Suarez

Results 7 comments of Andres Suarez

Hello, I'm getting the same error ``` Migrating 780 items from strapi_permission to admin_permissions strapi_permission batch #1 (node:7114) UnhandledPromiseRejectionWarning: error: insert into "admin_permissions" ("action", "conditions", "created_at", "fields", "id", "properties", "subject",...

@derrickmehaffy Thanks for the response. So far no luck… I deleted the column and tested the script again, but this time is another issue. `UnhandledPromiseRejectionWarning: error: delete from "up_users_role_links" -...

@derrickmehaffy Thanks for the response, I will take a look tonight and let you know

@derrickmehaffy Still facing the issues, this is my schema: ![code](https://user-images.githubusercontent.com/26072242/188318472-5b7d390a-d859-4f11-b145-4148682fced1.png) Also, as pointed out from @MotaZor94, I've had to stringify `properties` & `conditions`. ![image](https://user-images.githubusercontent.com/26072242/188318602-4d8f13f8-3d04-414b-a8fe-ababd8efdd85.png)

@derrickmehaffy These are my tables for strapi-permissions generated from v4, seems like `up_users_role_links` does not exist but `users_permissions_user_role_links` does exist, seems like a naming issue? Should I rename those tables,...

@derrickmehaffy No, I'm working with different database, the screenshot was for the v4 after running the api in develop mode with an empty db

@derrickmehaffy I can share my database for you to reproduce it if you want