def METHOD_NAME():
    op.drop_constraint('building_fee_account_id_fkey', 'building', type_='foreignkey')
    op.drop_column('building', 'fee_account_id')
    op.execute('drop trigger if exists "user_room_change_update_history_trigger" on "user"')
    op.execute('drop function if exists user_room_change_update_history();')
    op.alter_column('membership', 'begins_at', nullable=True)
    op.drop_constraint('membership_check', 'membership', type_='check')
    op.drop_table("room_history_entry")
    op.execute('drop function if exists room_history_entry_uniqueness();')
    op.execute("alter table membership_fee drop constraint membership_fee_check")
    op.create_check_constraint(
        "membership_fee_check",
        "membership_fee",
        "begins_on < ends_on",
    )