Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Commit 5fb2e90

Browse files
authored
Added migration script part of init-db-production script (#7893)
1 parent 8310ab4 commit 5fb2e90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"format": "prettier --write \"packages/**/*.{ts,tsx}\"",
6666
"format-scss": "stylelint \"packages/**/*.scss\" --fix",
6767
"format-staged": "lint-staged",
68-
"init-db-production": "cross-env APP_ENV=production FORCE_DB_REFRESH=true EXIT_ON_DB_INIT=true ts-node --swc packages/server/src/index.ts",
68+
"init-db-production": "npm run migrate && cross-env APP_ENV=production FORCE_DB_REFRESH=true EXIT_ON_DB_INIT=true ts-node --swc packages/server/src/index.ts",
6969
"install-projects": "ts-node --swc scripts/install-projects.js",
7070
"lint": "prettier --check \"packages/**/*.{ts,tsx}\"",
7171
"local": "npm run dev-docker && cross-env VITE_LOCAL_BUILD=true LOCAL=true concurrently -n agones,server,worldserver,mediaserver,client,files npm:dev-agones-silent \"cd packages/server && npm run start\" \"cd packages/instanceserver && npm run start\" \"cd packages/instanceserver && npm run start-channel\" \"cd packages/client && npm run local\" \"cd packages/server && npm run serve-local-files\"",

0 commit comments

Comments
 (0)