ticket:5 migrations fix