syncing with pagodabox
fixed db migrations