This repository was archived by the owner on Nov 7, 2025. It is now read-only.
v0.23.1
Feature/restructure idea image urls (#18) * add restructure script * set old and new URLs as env vars * fix wrong path to db.js * import Op from sequelize * remove db.close * added logging * bypass hooks in the idea model * bypass validation on idea.save * close the db connection * add await to close db command * Explicitly set extraData field as changed for sequelize * more explicit comment * clean code * cleaner code * fix if statement for images in array check * fix 1 --> 0 * implement correct isUpdated check * return when no db connection * typo startsWith * use .map to overwrit new image URLs