mirror of
https://github.com/linuxserver/budge.git
synced 2026-01-15 09:31:36 +08:00
* added ENV to disable registration, also surfacing that error message in the UI * removed toBeBudgeted from budget as this is now on a month-by-month basis, added in necessary DB event logic to calculate carry-over of this amount as transactions / budgets change * fixed date diff logic * frontend changes for budget month's available amount * changing from typeorm sync to migrations - initial migration checks for existing user table and skips migration if it exists as this was a DB already generated by the sync * update docker init script * added migration for budget month availablity * cascade deletes, fixed tests
9 lines
186 B
Plaintext
9 lines
186 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
|
|
apt-get install -y nodejs
|
|
|
|
cd /app/backend
|
|
npx prisma generate
|
|
npx prisma migrate dev --name init
|