Merge pull request #4303 from overleaf/sk-tag-saas-migrations

Migrations: tag migrations with relevant environment
GitOrigin-RevId: ad6c3bea19d3c21a1fdae58e09c861a3173c792b
This commit is contained in:
Shane Kilkelly
2021-07-28 02:05:49 +00:00
committed by Copybot
parent f7a4a57487
commit 4b9aa97ea1
56 changed files with 2139 additions and 12 deletions
-10
View File
@@ -1,10 +0,0 @@
#!/bin/sh
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
if [ -f /.dockerenv ]; then
# I'm running inside docker
npm run migrations -- "$@"
else
${SCRIPTPATH}/run web bin/east "$@"
fi