Database Setup

Two notebooks have been included to assist in populating the internal TMR PostgreSQL database with PTM modelled schemas.

NOTE: These notebooks have been designed to work for internal TMR use only and are not intended to be used by external parties.

setup_ptm_global_database.ipynb

This notebook sets up the global PTM database and updates the database name within Alteryx workflows. This notebook is only to be run sparingly and generally only when new model versions are released.

upload_schema_to_database.ipynb

This notebook uploads a PTM model schema to the database. It only requires one user defined variable (SCHEMA_NAME) which is the name of the schema to be uploaded.