This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import yaml | |
## Execution for me was: | |
## `python migrate_data.py > ./migration_inserts.sql` | |
## `sed -i '' 's/None/NULL/' ./migration_inserts.sql` | |
## `psql -f ./migration_inserts.sql` | |
## NOTE: A few things to know about the script here: | |
## - Artifacts were stored remotely, so no artifact migration |