Skip to content

Commit

Permalink
fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
FossPrime committed Apr 30, 2023
1 parent fbef028 commit 83e3d83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .replit
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ if [ ! -d "$FEATHERS_DIR/node_modules" ]; then
fi
PERF1=$SECONDS

# Sets up the tables, login will not work without this!
if [ ! -f "$FEATHERS_DIR/feathers-chat.sqlite" ]; then
npm run migrate # Sets up the tables, login will not work without this!
sh -c "cd '$FEATHERS_DIR'; npm run migrate"
fi
PERF2=$(($SECONDS - $PERF1))

Expand Down

0 comments on commit 83e3d83

Please sign in to comment.