def METHOD_NAME():
    # ### commands auto generated by Alembic - please adjust! ###
    op.execute('drop table if exists invites')
    op.execute('update events set can_pay_by_alipay = false where can_pay_by_alipay is null')
    op.alter_column('events', 'can_pay_by_alipay',
               nullable=False,
               server_default='False')
    op.execute('update events set can_pay_by_bank = false where can_pay_by_bank is null')
    op.alter_column('events', 'can_pay_by_bank',
               existing_type=sa.BOOLEAN(),
               nullable=False,
               server_default='False')
    op.execute('update events set can_pay_by_cheque = false where can_pay_by_cheque is null')
    op.alter_column('events', 'can_pay_by_cheque',
               existing_type=sa.BOOLEAN(),
               nullable=False,
               server_default='False')
    op.execute('update events set can_pay_by_omise = false where can_pay_by_omise is null')
    op.alter_column('events', 'can_pay_by_omise',
               existing_type=sa.BOOLEAN(),
               nullable=False,
               server_default='False')
    op.execute('update events set can_pay_by_paypal = false where can_pay_by_paypal is null')
    op.alter_column('events', 'can_pay_by_paypal',
               existing_type=sa.BOOLEAN(),
               nullable=False,
               server_default='False')
    op.execute('update events set can_pay_by_stripe = false where can_pay_by_stripe is null')
    op.alter_column('events', 'can_pay_by_stripe',
               existing_type=sa.BOOLEAN(),
               nullable=False,
               server_default='False')
    op.execute('update events set can_pay_onsite = false where can_pay_onsite is null')
    op.alter_column('events', 'can_pay_onsite',
               existing_type=sa.BOOLEAN(),
               nullable=False,
               server_default='False')
    op.execute('update events set can_pay_by_paytm = false where can_pay_by_paytm is null')
    op.alter_column('events_version', 'can_pay_by_paytm',
               existing_type=sa.BOOLEAN(),
               nullable=True,
               autoincrement=False,
               existing_server_default=sa.text('false'))
    op.alter_column('events_version', 'is_billing_info_mandatory',
               existing_type=sa.BOOLEAN(),
               nullable=True,
               autoincrement=False,
               existing_server_default=sa.text('false'))
    op.alter_column('events_version', 'is_ticket_form_enabled',
               existing_type=sa.BOOLEAN(),
               nullable=True,
               autoincrement=False,
               existing_server_default=sa.text('true'))
    op.alter_column('events_version', 'show_remaining_tickets',
               existing_type=sa.BOOLEAN(),
               nullable=True,
               autoincrement=False,
               existing_server_default=sa.text('false'))
    op.execute('alter table orders drop column if exists is_reminder_mail_sent')
    op.alter_column('speaker', 'sponsorship_required',
               existing_type=sa.VARCHAR(),
               type_=sa.Text(),
               existing_nullable=True)
    # ### end Alembic commands ###