Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

v0.23.1

Choose a tag to compare

@IanR01 IanR01 released this 17 Jun 15:10
· 8 commits to main since this release
4c9a6a3
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