Skip to content

Commit 836c6f9

Browse files
committed
Rename migrate_postgres scripts to upgrade_postgres to avoid confusion with DB schema migrations
1 parent 97cbffb commit 836c6f9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ui/UPGRADE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ docker compose down
158158
docker volume rm ui_postgres_data
159159

160160
# Follow the migration guide above to export and import your data
161-
./migrate_postgres_simple.sh
161+
./upgrade_postgres_simple.sh
162162
```
163163

164164
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:
193193

194194
```bash
195195
#!/bin/bash
196-
# migrate_postgres.sh - Migrate Hamilton UI from PostgreSQL 12 to 18
196+
# upgrade_postgres.sh - Upgrade Hamilton UI from PostgreSQL 12 to 18
197197

198198
set -e
199199

@@ -246,7 +246,7 @@ echo "Migration complete!"
246246
echo "Navigate to http://localhost:8242 to verify your data."
247247
```
248248

249-
Save as `migrate_postgres.sh`, make executable with `chmod +x migrate_postgres.sh`, and run with `./migrate_postgres.sh`.
249+
Save as `upgrade_postgres.sh`, make executable with `chmod +x upgrade_postgres.sh`, and run with `./upgrade_postgres.sh`.
250250

251251
## Getting Help
252252

ui/upgrade_postgres.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# specific language governing permissions and limitations
1717
# under the License.
1818

19-
# migrate_postgres.sh - Migrate Hamilton UI from PostgreSQL 12 to 18
19+
# upgrade_postgres.sh - Upgrade Hamilton UI from PostgreSQL 12 to 18
2020

2121
set -e
2222

ui/upgrade_postgres_simple.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# specific language governing permissions and limitations
1717
# under the License.
1818

19-
# migrate_postgres_simple.sh - Migrate Hamilton UI from PostgreSQL 12 to 18
19+
# upgrade_postgres_simple.sh - Upgrade Hamilton UI from PostgreSQL 12 to 18
2020
# Uses Django's dumpdata/loaddata for safe, validated migration
2121

2222
set -euo pipefail

0 commit comments

Comments
 (0)