Add postgresql fn documentation
Updated migration strategy text