fix(update server missing migrate): missing

This commit is contained in:
2025-04-01 16:21:15 -05:00
parent 44507d41c4
commit 544e82c01d

View File

@@ -210,7 +210,9 @@ $plantFunness = {
Set-Location $serverPath
npm run prodinstall # --omit=dev
Write-Host "Finished doing updates"
Start-Sleep -Seconds 1
# Start-Sleep -Seconds 1
# Write-HOst "Running db migrations"
# npm run db:migrate
###########################################################
# Old system still active until we have everything off it
@@ -347,7 +349,7 @@ try {
$gatewayport = "4400"
$systemport = "4200"
$ocmeport = "4300"
$appport = "4900"
$appport = "4400"
if ($token -eq "usiow2") {
$dbLink = "lstBackendDB_2"
@@ -406,13 +408,13 @@ try {
###########################################################
# Starting the services back up.
###########################################################
Write-Host "Starting the services"
Write-Host "Starting $($serviceSystem)"
Start-Service -DisplayName $serviceSystem
Start-Sleep -Seconds 1
Write-Host "Starting $($serviceGateway)"
Start-Service -DisplayName $serviceGateway
Start-Sleep -Seconds 1
# Write-Host "Starting the services"
# Write-Host "Starting $($serviceSystem)"
# Start-Service -DisplayName $serviceSystem
# Start-Sleep -Seconds 1
# Write-Host "Starting $($serviceGateway)"
# Start-Service -DisplayName $serviceGateway
# Start-Sleep -Seconds 1
#Write-Host "Starting $($serviceAuth)"
#Start-Service -DisplayName $serviceAuth
#Start-Sleep -Seconds 1