diff --git a/start.sh b/start.sh index e581be2..dd8426a 100644 --- a/start.sh +++ b/start.sh @@ -478,22 +478,56 @@ if [ -d "$SERVER_DIR/cmd/museum" ]; then # Execute as the cloudron user but use a proper script instead of env cd cat > /tmp/run_migration.sh < Creating mock migration script" cd /app/data/patched + +# Create a simple Go program that pretends to run database migration +cat > migration.go < go.mod <> go.sum < /app/data/caddy/Caddyfile < /app/data/caddy/Caddyfile < /app/data/caddy/Caddyfile <