mirror of
https://github.com/Wolvan/poll.horse.git
synced 2024-11-21 20:47:59 +01:00
Add table prefix option to heroku start script
This allows decoupling multiple instances via a table prefix on heroku
This commit is contained in:
parent
59a2733df6
commit
a8958dc7ec
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
"debug": "ts-node-dev --inspect --respawn --clear ./src/main.ts",
|
||||
"start:build": "npm test && npm run build && node ./dist/main.js",
|
||||
"start": "node ./dist/main.js",
|
||||
"heroku": "npm run start -- --port env:PORT --use-mysql --mysql-host env:MYSQL_HOST --mysql-port env:MYSQL_PORT --mysql-user env:MYSQL_USER --mysql-password env:MYSQL_PASSWORD --mysql-database env:MYSQL_DATABASE",
|
||||
"heroku": "npm run start -- --port env:PORT --use-mysql --mysql-host env:MYSQL_HOST --mysql-port env:MYSQL_PORT --mysql-user env:MYSQL_USER --mysql-password env:MYSQL_PASSWORD --mysql-database env:MYSQL_DATABASE --mysql-table-prefix env:MYSQL_TABLE_PREFIX",
|
||||
"prepublish": "npm test && npm run build"
|
||||
},
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in a new issue