Migrate db and add status