fixed db
fixed migration typo