add migrations

Add ticket and messeges