dbic-migration fixes