code: def upgrade():
      bind = op.get_bind()
      session = db.Session(bind=bind)
      if isinstance(bind.dialect, SQLiteDialect):
          return  # sqlite doesn't have a concat function
  
      fix_datasets_schema_perm(session)
      fix_charts_schema_perm(session)
  
      session.commit()
      session.close()
  
file_path: superset/superset/migrations/versions/2023-08-02_15-23_0769ef90fddd_fix_schema_perm_for_datasets.py
imports: import sqlalchemy
  from alembic import op
  from sqlalchemy.dialects.sqlite.base import SQLiteDialect
  from sqlalchemy.ext.declarative import declarative_base
  from superset import db
label_desc: Use image node_id 3 for calling a global function with example usage: upgrade() without return types