#!/bin/sh
echo "Running migrations"
npx prisma migrate dev
echo "Starting mqtt listener"
exec node src/mqtt.js ${MQTT_OPTS}