Skip to content

Commit 029a580

Browse files
committed
squash migrations
1 parent 012137d commit 029a580

80 files changed

Lines changed: 1478 additions & 8229 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

exordos/images/bootstrap.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ log "Apply migrations"
141141
source "$VENV_PATH/bin/activate"
142142
# TODO(akremenetsky): Database configuration parameters should be taken
143143
# from persistent configuration file.
144+
ra-apply-migration --config-dir "$GC_CFG_DIR/" --path "$GC_PATH/.venv/lib/python3.14/site-packages/gcl_sdk/migrations"
144145
ra-apply-migration --config-dir "$GC_CFG_DIR/" --path "$GC_PATH/migrations"
145146

146147
# --- Meta file migrations ---

exordos/images/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ sudo cp "$GC_PATH/etc/exordos_universal_agent/logging.yaml" /etc/exordos_univers
169169
# 1) The bootstrap script will transfer the data to the data disk
170170
# 2) It's speed up the first run since the migrations are already applied.
171171
# 3) It's allows to debug the migrations at build time.
172+
OS_DB__CONNECTION_URL="postgresql://$GC_PG_USER:$GC_PG_PASS@127.0.0.1:5432/$GC_PG_DB" ra-apply-migration --path "$GC_PATH/.venv/lib/python3.14/site-packages/gcl_sdk/migrations"
172173
OS_DB__CONNECTION_URL="postgresql://$GC_PG_USER:$GC_PG_PASS@127.0.0.1:5432/$GC_PG_DB" ra-apply-migration --path "$GC_PATH/migrations"
173174

174175
deactivate

migrations/0000-init-compute-tables-0234eb.py

Lines changed: 0 additions & 139 deletions
This file was deleted.

migrations/0000-init-config-tables-9a7b58.py

Lines changed: 0 additions & 42 deletions
This file was deleted.

migrations/0000-init-discovery-tables-907a68.py

Lines changed: 0 additions & 42 deletions
This file was deleted.

migrations/0000-init-elements-tables-fe8bdb.py

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)