Skip to content

Commit 1035318

Browse files
authored
FluidCalendar: Switch to safer DB operations (#3270)
1 parent 8c8412c commit 1035318

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ct/fluid-calendar.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function update_script() {
4848
export NEXT_TELEMETRY_DISABLED=1
4949
$STD npm install --legacy-peer-deps
5050
$STD npm run prisma:generate
51-
$STD npm run prisma:migrate
51+
$STD npx prisma migrate deploy
5252
$STD npm run build:os
5353
msg_ok "Updated $APP to v${RELEASE}"
5454

install/fluid-calendar-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export NEXT_TELEMETRY_DISABLED=1
7474
cd /opt/fluid-calendar
7575
$STD npm install --legacy-peer-deps
7676
$STD npm run prisma:generate
77-
$STD npm run prisma:migrate
77+
$STD npx prisma migrate deploy
7878
$STD npm run build:os
7979
msg_ok "Setup ${APPLICATION}"
8080

0 commit comments

Comments
 (0)