comment
refactor migrations to allow something other than a sql Connection to be passed in
basics of backend for import batches