Skip to content

Commit ef0a60b

Browse files
committed
Update migrate script
1 parent 665a064 commit ef0a60b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Scripts/RestoreDB.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ if [ -f "${PGDATA_BACKUP}" ]; then
66
else
77
cat /CreateDB.sql | psql --dbname=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB} 2> ${BACKUP_RESTORE_LOG}
88
fi
9-
10-
sh /Migrate.db

Scripts/secrets-entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ fi
1010
# restore database
1111
sh /RestoreDB.sh
1212

13+
#migrate database
14+
sh /MigrateDB.sh
15+
1316
exec dotnet SimpleToDoService.dll

0 commit comments

Comments
 (0)