reapply_foreign_keys.py
PostgreSQL Partition Manager
RUN apt-get update && \
apt-get install -y postgresql-9.6-partman
RUN apt-get update && \
apt-get install -y postgresql-10-partman
RUN apt-get update && \
apt-get install -y postgresql-9.6-partman