fork from https://github.com/seratch/scalikejdbc