helpers for db (req. bash) and fixes to migrations + seed
helpers for db (req. bash) and fixes to migrations + seed