* upgrade the migrate package * remove the dev migrations * remove unused migration code
11 lines
243 B
Bash
Executable File
11 lines
243 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "Running migrations..."
|
|
/opt/canapeapp/migrate \
|
|
-database "postgres://$DB_USER:$DB_PASS@database:5432/$DB_ENV?sslmode=disable" \
|
|
-path /opt/canapeapp/migrations \
|
|
up
|
|
echo "Migrations done"
|
|
|
|
exec /opt/canapeapp/app
|