code: def create_schema(self, check_if_exists=False, sync_schema=True,
                        verbosity=1):
          
  
          # safety check
          _check_schema_name(self.schema_name)
          cursor = connection.cursor()
  
          if check_if_exists and schema_exists(self.schema_name):
              return False
  
          # create the schema
          cursor.execute('CREATE SCHEMA %s' % self.schema_name)
  
          if sync_schema:
              call_command('migrate_schemas',
                           schema_name=self.schema_name,
                           interactive=False,
                           verbosity=verbosity)
  
          connection.set_schema_to_public()
docs: Creates the schema 'schema_name' for this tenant. Optionally checks if
          the schema already exists before creating it. Returns true if the
          schema was created, false otherwise.