Baboo7 / strapi-plugin-import-export-entries

Import/Export data from and to your database in just few clicks.
175 stars 86 forks source link

[BUG] schema name is not included for the raw query to increment ID in import-v2 service #196

Open Hemaxilade opened 2 months ago

Hemaxilade commented 2 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior: change db schema from default public

Expected behavior SELECT SETVAL( (SELECT PG_GET_SERIAL_SEQUENCE('${model.collectionName}', 'id')), (SELECT MAX(id) FROM ${model.collectionName}) + 1, FALSE );