strapi / migration-scripts

Collection of Strapi Migration scripts
58 stars 57 forks source link

fix sequence and empty insert query #91

Closed e-genov-ks closed 1 year ago

e-genov-ks commented 1 year ago

2 fixes:

  1. Sequence script. Example:
    SELECT SETVAL ('newModals_components_id_seq', (SELECT MAX(id) + 1 FROM "newModals_components")) - relation "newmodals_components_id_seq" does not exist 
  2. Incorrect parsed fields. Add filtration + warning about that