definition of schema and database environments