Add support for shared database
Add grant on schema