Prices Postgres triggers and db listener courtesy of: https://gist.github.com/carterbryden/e7b19d1ba1ea92e241fed259fea23491