Support for database with multiple schemas

Support for database with multiple schemas