Make sure database is setup properly

Make sure database is setup properly