mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-19 14:08:47 -04:00
Build db migration codedeploy artifact
This commit is contained in:
8
scripts/aws_run_db_migrations.sh
Executable file
8
scripts/aws_run_db_migrations.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
echo "Run database migrations"
|
||||
|
||||
cd /home/notify-app/notifications-api;
|
||||
python3 db.py db upgrade
|
||||
Reference in New Issue
Block a user