example of how to using sqlalchemy to create two linked tables
assumes macos (hence brew) but that is the only piece of this that should be mac-specific
- postgres
brew install postgres
- sqlalchemy
pip install sqlalchemy
- psycopg2
pip install psycopg2-binary
brew services restart postgres
createdb ic4v
create user ic4vuser --password
(at password prompt enter password ibm
)
python create_tables.py
python insert_records.py
python list_records.py
python drop_tables.py