Added database migrations
Merged with database