system-of-record to use postgresql