Hacky solution for making the create-schema function idempotent