Added device connect route

This commit is contained in:
Fergal Moran
2024-02-01 20:43:23 +00:00
parent b1b38eaf28
commit da07d8cd3e
18 changed files with 1445 additions and 37 deletions

View File

@@ -7,12 +7,10 @@ echo Removing migrations
rm -rf drizzle
echo "Dropping db"
if $NODE_NEV ne "production"; then
echo "Dropping production db"
dropdb -f --if-exists kidarr
echo "Creating production db"
createdb kidarr
fi
echo "Dropping production db"
dropdb -f --if-exists kidarr
echo "Creating production db"
createdb kidarr
bun db:generate
bun db:migrate