* config/database: update queries to improve reads/writes * reflect review comments * move tx initialization * add comments and fix psql migration * fix spelling * refactor * add more descriptive comment
* add configuration tables to migration system * config: move config migrations into new system completely * add mysql specific bits * use helper db instance instead * fix typo Co-authored-by: Mattermod <mattermod@users.noreply.github.com>