migrating dabatase and adding annotation