diff --git a/postgresql/migratedb.d/10.sql b/postgresql/migratedb.d/10.sql index 18469c340..522f73e8f 100644 --- a/postgresql/migratedb.d/10.sql +++ b/postgresql/migratedb.d/10.sql @@ -43,6 +43,9 @@ BEGIN GRANT base TO download, inbox, ingest, finalize, mapper, verify; + -- Drop temporary user creation function + DROP FUNCTION create_role_if_not_exists; + ELSE RAISE NOTICE 'Schema migration from % to % does not apply now, skipping', sourcever, sourcever+1; END IF;