corrected db migration bug

Was preventing migrating from 0001