Converted to use sqlx resulting in far less boilerplate