Closed smurthys closed 7 years ago
Should be fixed in 023e9c6eaf73ceca6650099e40361e103829a528. I moved all of the ALTER SCHEMA, DROP OWNED BY, and REVOKE statements to removeClassDBFromDB. The only operations left in removeClassDBFromServer are the DROP ROLE statements.
removeClassDBFromServer.sql
contains code that undoes aspects specific to the current database. Specifically, the statements to revokeCONNECT
on database, theDROP OWNED BY
statements, and the code to alter schema ownership should all be toremoveClassDBFromDB.sql
so they are executed in each DB where ClassDB is added.