Add migrations and star count model.