insert_placing_organizations = """
    INSERT INTO campaign_placing_organizations (campaign_id, permalinks)
    VALUES ($1, $2)
"""

insert_placing_area = """
    INSERT INTO campaign_placing_area (campaign_id, areas, version)
    VALUES ($1, $2, $3)
"""

remove_campaign_placing = """
    WITH
        delete_organizations AS (DELETE FROM campaign_placing_organizations WHERE campaign_id = $1),
        delete_areas AS (DELETE FROM campaign_placing_area WHERE campaign_id = $1)
    SELECT 1
"""  # noqa: E501
