/transchema

Copy the schema from a database / table & create a empty version PostgreSQL

Primary LanguagePython

TranSchema

A Python Script which has the following features:

  • Copy a PostgreSQL database / table schema to a schema file.
  • Utilizing a schema file create an empty PostgreSQL database / table

To execute:

python3 transchema.py $DB_NAME $DB_USER $DB_USER_PASSWORD $DB_IP $DB_PORT