#!/bin/sh if [ $# -ne 1 ]; then echo "usage: $0 " exit -1 fi npx ts-node --project ./tsconfig.migration.json ./node_modules/typeorm/cli.js migration:generate -n $1