https://phparea.com/blog/how-to-enable-and-disable-triggers-in-postgresql