def METHOD_NAME():
    op.drop_constraint("imapuid_ibfk_3", "imapuid", type_="foreignkey")
    op.create_foreign_key("imapuid_ibfk_3", "imapuid", "folder", ["folder_id"], ["id"])
    op.drop_constraint("account_ibfk_2", "account", type_="foreignkey")
    op.create_foreign_key(
        "account_ibfk_2", "account", "folder", ["inbox_folder_id"], ["id"]
    )
    op.drop_constraint("account_ibfk_3", "account", type_="foreignkey")
    op.create_foreign_key(
        "account_ibfk_3", "account", "folder", ["sent_folder_id"], ["id"]
    )
    op.drop_constraint("account_ibfk_4", "account", type_="foreignkey")
    op.create_foreign_key(
        "account_ibfk_4", "account", "folder", ["drafts_folder_id"], ["id"]
    )
    op.drop_constraint("account_ibfk_5", "account", type_="foreignkey")
    op.create_foreign_key(
        "account_ibfk_5", "account", "folder", ["spam_folder_id"], ["id"]
    )
    op.drop_constraint("account_ibfk_6", "account", type_="foreignkey")
    op.create_foreign_key(
        "account_ibfk_6", "account", "folder", ["trash_folder_id"], ["id"]
    )
    op.drop_constraint("account_ibfk_7", "account", type_="foreignkey")
    op.create_foreign_key(
        "account_ibfk_7", "account", "folder", ["archive_folder_id"], ["id"]
    )
    op.drop_constraint("account_ibfk_8", "account", type_="foreignkey")
    op.create_foreign_key(
        "account_ibfk_8", "account", "folder", ["all_folder_id"], ["id"]
    )
    op.drop_constraint("account_ibfk_9", "account", type_="foreignkey")
    op.create_foreign_key(
        "account_ibfk_9", "account", "folder", ["starred_folder_id"], ["id"]
    )
    op.drop_constraint("account_ibfk_10", "account", type_="foreignkey")
    op.create_foreign_key(
        "account_ibfk_10", "account", "folder", ["important_folder_id"], ["id"]
    )