code: def upgrade():
      with op.batch_alter_table("tables") as batch_op:
          batch_op.add_column(sa.Column("user_id", sa.Integer()))
          batch_op.create_foreign_key(
              "user_id", "ab_user", ["user_id"], ["id"]
          )
  
imports: import sqlalchemy
  from alembic import op
label_desc: Use image node_id 1 for calling a global function with example usage: upgrade() without return types