This is an automated email from the ASF dual-hosted git repository.

skrawcz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hamilton.git

commit 836c6f905e612b02cf344ed2b6e7a9760680f172
Author: Stefan Krawczyk <[email protected]>
AuthorDate: Sat Feb 28 13:19:50 2026 -0800

    Rename migrate_postgres scripts to upgrade_postgres to avoid confusion with 
DB schema migrations
---
 ui/UPGRADE.md                 | 6 +++---
 ui/upgrade_postgres.sh        | 2 +-
 ui/upgrade_postgres_simple.sh | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ui/UPGRADE.md b/ui/UPGRADE.md
index 7b3d66a6..3eb93351 100644
--- a/ui/UPGRADE.md
+++ b/ui/UPGRADE.md
@@ -158,7 +158,7 @@ docker compose down
 docker volume rm ui_postgres_data
 
 # Follow the migration guide above to export and import your data
-./migrate_postgres_simple.sh
+./upgrade_postgres_simple.sh
 ```
 
 If you're upgrading from PostgreSQL 16 to 18 and encounter this error, the 
volume mount point has changed. You still need to follow the migration process 
even though both versions are modern.
@@ -193,7 +193,7 @@ For automated migration, you can use this script:
 
 ```bash
 #!/bin/bash
-# migrate_postgres.sh - Migrate Hamilton UI from PostgreSQL 12 to 18
+# upgrade_postgres.sh - Upgrade Hamilton UI from PostgreSQL 12 to 18
 
 set -e
 
@@ -246,7 +246,7 @@ echo "Migration complete!"
 echo "Navigate to http://localhost:8242 to verify your data."
 ```
 
-Save as `migrate_postgres.sh`, make executable with `chmod +x 
migrate_postgres.sh`, and run with `./migrate_postgres.sh`.
+Save as `upgrade_postgres.sh`, make executable with `chmod +x 
upgrade_postgres.sh`, and run with `./upgrade_postgres.sh`.
 
 ## Getting Help
 
diff --git a/ui/upgrade_postgres.sh b/ui/upgrade_postgres.sh
index b9cf5fd3..e3e8d280 100755
--- a/ui/upgrade_postgres.sh
+++ b/ui/upgrade_postgres.sh
@@ -16,7 +16,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-# migrate_postgres.sh - Migrate Hamilton UI from PostgreSQL 12 to 18
+# upgrade_postgres.sh - Upgrade Hamilton UI from PostgreSQL 12 to 18
 
 set -e
 
diff --git a/ui/upgrade_postgres_simple.sh b/ui/upgrade_postgres_simple.sh
index 5a5ee144..1791eb24 100755
--- a/ui/upgrade_postgres_simple.sh
+++ b/ui/upgrade_postgres_simple.sh
@@ -16,7 +16,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-# migrate_postgres_simple.sh - Migrate Hamilton UI from PostgreSQL 12 to 18
+# upgrade_postgres_simple.sh - Upgrade Hamilton UI from PostgreSQL 12 to 18
 # Uses Django's dumpdata/loaddata for safe, validated migration
 
 set -euo pipefail

Reply via email to