Skip to content

Commit

Permalink
🐛 Fix issue with v2 manual migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
niwinz committed Apr 11, 2024
1 parent ac835bb commit fa00fed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/scripts/run.template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ export JVM_OPTS="-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogMan
ENTRYPOINT=${1:-app.main};

set -ex
exec $JAVA_CMD $JVM_OPTS "$@" -jar penpot.jar -m $ENTRYPOINT
exec $JAVA_CMD $JVM_OPTS -jar penpot.jar -m $ENTRYPOINT
3 changes: 1 addition & 2 deletions backend/src/app/migrations/v2.clj
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@
migrated? (setup/get-prop system :v2-migrated false)]

(when-not migrated?
(l/inf :hint "v2 migration started"
:files (:processed-files stats))
(l/inf :hint "v2 migration started")
(try
(binding [feat/*stats* stats]
(db/tx-run! system migrate-teams))
Expand Down

0 comments on commit fa00fed

Please sign in to comment.