Changed the database schema for group membership