From c8023e2d8f844e0961e3dba2018e02f3c6d0a7d6 Mon Sep 17 00:00:00 2001 From: acsok Date: Mon, 10 Jun 2024 16:13:45 -0400 Subject: [PATCH] Fixed incorrect script in new server install --- .../server-install/Database Migration Scripts.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/VCS-Documentation/server-install/Database Migration Scripts.md b/content/VCS-Documentation/server-install/Database Migration Scripts.md index 9ed2eb767..ecfaf80a8 100644 --- a/content/VCS-Documentation/server-install/Database Migration Scripts.md +++ b/content/VCS-Documentation/server-install/Database Migration Scripts.md @@ -51,19 +51,19 @@ Run the `update_server_id.sh` script with the `ServerID` and the `PSQL_PATH` par Example of running the script with Docker instance of Postgres: ```bash -./database_migration.sh 'server_id' 'docker exec -i artsentry-services-postgres-1 psql' +./update_server_id.sh 'server_id' 'docker exec -i artsentry-services-postgres-1 psql' ``` Example of running the script with local instance of Postgres: ```bash -./database_migration.sh 'server_id' '/opt/homebrew/Cellar/postgresql@16/16.2_1/bin/psql' +./update_server_id.sh 'server_id' '/opt/homebrew/Cellar/postgresql@16/16.2_1/bin/psql' ``` If you want to redirect the output to a different file, use the following command: ```bash -./database_migration.sh 'server_id' 'docker exec -i artsentry-services-postgres-1 psql' > migration.log +./update_server_id.sh 'server_id' 'docker exec -i artsentry-services-postgres-1 psql' > migration.log ``` #### Existing Server Upgrade