ticket:5 adjusts migrations to deal with sqlite