[RCU] migrate from mysql to postgresql database