<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml-stylesheet type="text/xsl" href="xsl/mdb2_changeset.xsl"?>
<instructionset>
  <name>openads</name>
  <version>505</version>
  <comments></comments>
  <constructive>
    <changeset>
      <name>openads</name>
      <version>505</version>
      <change>
        <table>
          <name>acls_channel</name>
        <change>
          <field>
            <name>logical</name>
            <length>3</length>
          </field>
        </change>
      </table>
        <table>
          <name>ad_zone_assoc</name>
        <index>
          <add>
            <name>ad_zone_assoc_zone_id</name>
            <was>ad_zone_assoc_zone_id</was>
            <indexfield>
              <name>zone_id</name>
              <sorting>ascending</sorting>
            </indexfield>
          </add>
        </index>
        <index>
          <remove>
            <name>zone_id</name>
        </remove>
      </index>
    </table>
      <table>
        <name>affiliates</name>
      <index>
        <add>
          <name>affiliates_agencyid</name>
          <was>affiliates_agencyid</was>
          <indexfield>
            <name>agencyid</name>
            <sorting>ascending</sorting>
          </indexfield>
        </add>
      </index>
      <index>
        <remove>
          <name>agencyid</name>
      </remove>
    </index>
  </table>
    <table>
      <name>banners</name>
    <index>
      <add>
        <name>banners_campaignid</name>
        <was>banners_campaignid</was>
        <indexfield>
          <name>campaignid</name>
          <sorting>ascending</sorting>
        </indexfield>
      </add>
    </index>
    <index>
      <remove>
        <name>campaignid</name>
    </remove>
  </index>
</table>
  <table>
    <name>campaigns</name>
        <index>
          <add>
            <name>campaigns_clientid</name>
            <was>campaigns_clientid</was>
            <indexfield>
              <name>clientid</name>
              <sorting>ascending</sorting>
            </indexfield>
          </add>
        </index>
        <index>
          <remove>
            <name>clientid</name>
        </remove>
      </index>
    </table>
      <table>
        <name>campaigns_trackers</name>
      <index>
        <add>
          <name>campaigns_trackers_campaignid</name>
          <was>campaigns_trackers_campaignid</was>
          <indexfield>
            <name>campaignid</name>
            <sorting>ascending</sorting>
          </indexfield>
        </add>
          <add>
            <name>campaigns_trackers_trackerid</name>
            <was>campaigns_trackers_trackerid</was>
            <indexfield>
              <name>trackerid</name>
              <sorting>ascending</sorting>
            </indexfield>
          </add>
        </index>
        <index>
          <remove>
            <name>campaignid</name>
        </remove>
          <remove>
            <name>trackerid</name>
        </remove>
      </index>
    </table>
      <table>
        <name>clients</name>
      <index>
        <add>
          <name>clients_agencyid</name>
          <was>clients_agencyid</was>
          <indexfield>
            <name>agencyid</name>
            <sorting>ascending</sorting>
          </indexfield>
        </add>
      </index>
      <index>
        <remove>
          <name>agencyid</name>
      </remove>
    </index>
  </table>
    <table>
      <name>data_intermediate_ad</name>
    <change>
      <field>
        <name>total_num_items</name>
        <unsigned></unsigned>
      </field>
    </change>
  </table>

                  <table>
                    <name>data_summary_ad_hourly</name>
                  <change>
                    <field>
                      <name>total_num_items</name>
                      <unsigned></unsigned>
                    </field>
                  </change>
                </table>
                  <table>
                    <name>data_summary_zone_country_daily</name>
                  <index>
                    <add>
                      <name>data_summary_zone_country_daily_day</name>
                      <was>data_summary_zone_country_daily_day</was>
                      <indexfield>
                        <name>day</name>
                        <sorting>ascending</sorting>
                      </indexfield>
                    </add>
                      <add>
                        <name>data_summary_zone_country_daily_zone_id</name>
                        <was>data_summary_zone_country_daily_zone_id</was>
                        <indexfield>
                          <name>zone_id</name>
                          <sorting>ascending</sorting>
                        </indexfield>
                      </add>
                    </index>
                    <index>
                      <remove>
                        <name>day</name>
                    </remove>
                      <remove>
                        <name>zone_id</name>
                    </remove>
                  </index>
                </table>
                  <table>
                    <name>data_summary_zone_country_forecast</name>
                  <index>
                    <add>
                      <name>data_summary_zone_country_forecast_day_of_week</name>
                      <was>data_summary_zone_country_forecast_day_of_week</was>
                      <indexfield>
                        <name>day_of_week</name>
                        <sorting>ascending</sorting>
                      </indexfield>
                    </add>
                      <add>
                        <name>data_summary_zone_country_forecast_zone_id</name>
                        <was>data_summary_zone_country_forecast_zone_id</was>
                        <indexfield>
                          <name>zone_id</name>
                          <sorting>ascending</sorting>
                        </indexfield>
                      </add>
                    </index>
                    <index>
                      <remove>
                        <name>day_of_week</name>
                    </remove>
                      <remove>
                        <name>zone_id</name>
                    </remove>
                  </index>
                </table>
                  <table>
                    <name>data_summary_zone_country_monthly</name>
                  <index>
                    <add>
                      <name>data_summary_zone_country_monthly_yearmonth</name>
                      <was>data_summary_zone_country_monthly_yearmonth</was>
                      <indexfield>
                        <name>yearmonth</name>
                        <sorting>ascending</sorting>
                      </indexfield>
                    </add>
                      <add>
                        <name>data_summary_zone_country_monthly_zone_id</name>
                        <was>data_summary_zone_country_monthly_zone_id</was>
                        <indexfield>
                          <name>zone_id</name>
                          <sorting>ascending</sorting>
                        </indexfield>
                      </add>
                    </index>
                    <index>
                      <remove>
                        <name>yearmonth</name>
                    </remove>
                      <remove>
                        <name>zone_id</name>
                    </remove>
                  </index>
                </table>
                  <table>
                    <name>data_summary_zone_domain_page_daily</name>
                  <index>
                    <add>
                      <name>data_summary_zone_domain_page_daily_day</name>
                      <was>data_summary_zone_domain_page_daily_day</was>
                      <indexfield>
                        <name>day</name>
                        <sorting>ascending</sorting>
                      </indexfield>
                    </add>
                      <add>
                        <name>data_summary_zone_domain_page_daily_zone_id</name>
                        <was>data_summary_zone_domain_page_daily_zone_id</was>
                        <indexfield>
                          <name>zone_id</name>
                          <sorting>ascending</sorting>
                        </indexfield>
                      </add>
                    </index>
                    <index>
                      <remove>
                        <name>day</name>
                    </remove>
                      <remove>
                        <name>zone_id</name>
                    </remove>
                  </index>
                </table>
                  <table>
                    <name>data_summary_zone_domain_page_forecast</name>
                  <index>
                    <add>
                      <name>data_summary_zone_domain_page_forecast_day_of_week</name>
                      <was>data_summary_zone_domain_page_forecast_day_of_week</was>
                      <indexfield>
                        <name>day_of_week</name>
                        <sorting>ascending</sorting>
                      </indexfield>
                    </add>
                      <add>
                        <name>data_summary_zone_domain_page_forecast_zone_id</name>
                        <was>data_summary_zone_domain_page_forecast_zone_id</was>
                        <indexfield>
                          <name>zone_id</name>
                          <sorting>ascending</sorting>
                        </indexfield>
                      </add>
                    </index>
                    <index>
                      <remove>
                        <name>day_of_week</name>
                    </remove>
                      <remove>
                        <name>zone_id</name>
                    </remove>
                  </index>
                </table>
                  <table>
                    <name>data_summary_zone_domain_page_monthly</name>
                  <index>
                    <add>
                      <name>data_summary_zone_domain_page_monthly_yearmonth</name>
                      <was>data_summary_zone_domain_page_monthly_yearmonth</was>
                      <indexfield>
                        <name>yearmonth</name>
                        <sorting>ascending</sorting>
                      </indexfield>
                    </add>
                      <add>
                        <name>data_summary_zone_domain_page_monthly_zone_id</name>
                        <was>data_summary_zone_domain_page_monthly_zone_id</was>
                        <indexfield>
                          <name>zone_id</name>
                          <sorting>ascending</sorting>
                        </indexfield>
                      </add>
                    </index>
                    <index>
                      <remove>
                        <name>yearmonth</name>
                    </remove>
                      <remove>
                        <name>zone_id</name>
                    </remove>
                  </index>
                </table>
                  <table>
                    <name>data_summary_zone_site_keyword_daily</name>
                  <index>
                    <add>
                      <name>data_summary_zone_site_keyword_daily_day</name>
                      <was>data_summary_zone_site_keyword_daily_day</was>
                      <indexfield>
                        <name>day</name>
                        <sorting>ascending</sorting>
                      </indexfield>
                    </add>
                      <add>
                        <name>data_summary_zone_site_keyword_daily_zone_id</name>
                        <was>data_summary_zone_site_keyword_daily_zone_id</was>
                        <indexfield>
                          <name>zone_id</name>
                          <sorting>ascending</sorting>
                        </indexfield>
                      </add>
                    </index>
                    <index>
                      <remove>
                        <name>zone_id</name>
                    </remove>
                      <remove>
                        <name>day</name>
                    </remove>
                  </index>
                </table>
                  <table>
                    <name>data_summary_zone_site_keyword_forecast</name>
                  <index>
                    <add>
                      <name>data_summary_zone_site_keyword_forecast_day_of_week</name>
                      <was>data_summary_zone_site_keyword_forecast_day_of_week</was>
                      <indexfield>
                        <name>day_of_week</name>
                        <sorting>ascending</sorting>
                      </indexfield>
                    </add>
                      <add>
                        <name>data_summary_zone_site_keyword_forecast_zone_id</name>
                        <was>data_summary_zone_site_keyword_forecast_zone_id</was>
                        <indexfield>
                          <name>zone_id</name>
                          <sorting>ascending</sorting>
                        </indexfield>
                      </add>
                    </index>
                    <index>
                      <remove>
                        <name>day_of_week</name>
                    </remove>
                      <remove>
                        <name>zone_id</name>
                    </remove>
                  </index>
                </table>
                  <table>
                    <name>data_summary_zone_site_keyword_monthly</name>
                  <index>
                    <add>
                      <name>data_summary_zone_site_keyword_monthly_yearmonth</name>
                      <was>data_summary_zone_site_keyword_monthly_yearmonth</was>
                      <indexfield>
                        <name>yearmonth</name>
                        <sorting>ascending</sorting>
                      </indexfield>
                    </add>
                      <add>
                        <name>data_summary_zone_site_keyword_monthly_zone_id</name>
                        <was>data_summary_zone_site_keyword_monthly_zone_id</was>
                        <indexfield>
                          <name>zone_id</name>
                          <sorting>ascending</sorting>
                        </indexfield>
                      </add>
                    </index>
                    <index>
                      <remove>
                        <name>yearmonth</name>
                    </remove>
                      <remove>
                        <name>zone_id</name>
                    </remove>
                  </index>
                </table>
                  <table>
                    <name>data_summary_zone_source_daily</name>
                  <index>
                    <add>
                      <name>data_summary_zone_source_daily_day</name>
                      <was>data_summary_zone_source_daily_day</was>
                      <indexfield>
                        <name>day</name>
                        <sorting>ascending</sorting>
                      </indexfield>
                    </add>
                      <add>
                        <name>data_summary_zone_source_daily_zone_id</name>
                        <was>data_summary_zone_source_daily_zone_id</was>
                        <indexfield>
                          <name>zone_id</name>
                          <sorting>ascending</sorting>
                        </indexfield>
                      </add>
                    </index>
                    <index>
                      <remove>
                        <name>day</name>
                    </remove>
                      <remove>
                        <name>zone_id</name>
                    </remove>
                  </index>
                </table>
                  <table>
                    <name>data_summary_zone_source_forecast</name>
                  <index>
                    <add>
                      <name>data_summary_zone_source_forecast_day_of_week</name>
                      <was>data_summary_zone_source_forecast_day_of_week</was>
                      <indexfield>
                        <name>day_of_week</name>
                        <sorting>ascending</sorting>
                      </indexfield>
                    </add>
                      <add>
                        <name>data_summary_zone_source_forecast_zone_id</name>
                        <was>data_summary_zone_source_forecast_zone_id</was>
                        <indexfield>
                          <name>zone_id</name>
                          <sorting>ascending</sorting>
                        </indexfield>
                      </add>
                    </index>
                    <index>
                      <remove>
                        <name>day_of_week</name>
                    </remove>
                      <remove>
                        <name>zone_id</name>
                    </remove>
                  </index>
                </table>
                  <table>
                    <name>data_summary_zone_source_monthly</name>
                  <index>
                    <add>
                      <name>data_summary_zone_source_monthly_yearmonth</name>
                      <was>data_summary_zone_source_monthly_yearmonth</was>
                      <indexfield>
                        <name>yearmonth</name>
                        <sorting>ascending</sorting>
                      </indexfield>
                    </add>
                      <add>
                        <name>data_summary_zone_source_monthly_zone_id</name>
                        <was>data_summary_zone_source_monthly_zone_id</was>
                        <indexfield>
                          <name>zone_id</name>
                          <sorting>ascending</sorting>
                        </indexfield>
                      </add>
                    </index>
                    <index>
                      <remove>
                        <name>yearmonth</name>
                    </remove>
                      <remove>
                        <name>zone_id</name>
                    </remove>
                  </index>
                </table>
                  <table>
                    <name>placement_zone_assoc</name>
                  <index>
                    <add>
                      <name>placement_zone_assoc_zone_id</name>
                      <was>placement_zone_assoc_zone_id</was>
                      <indexfield>
                        <name>zone_id</name>
                        <sorting>ascending</sorting>
                      </indexfield>
                    </add>
                  </index>
                  <index>
                    <remove>
                      <name>zone_id</name>
                  </remove>
                </index>
              </table>
                <table>
                  <name>trackers</name>
                <index>
                  <add>
                    <name>trackers_clientid</name>
                    <was>trackers_clientid</was>
                    <indexfield>
                      <name>clientid</name>
                      <sorting>ascending</sorting>
                    </indexfield>
                  </add>
                </index>
                <index>
                  <remove>
                    <name>clientid</name>
                </remove>
              </index>
            </table>
              <table>
                <name>variables</name>
              <index>
                <add>
                  <name>variables_trackerid</name>
                  <was>variables_trackerid</was>
                  <indexfield>
                    <name>trackerid</name>
                    <sorting>ascending</sorting>
                  </indexfield>
                </add>
              </index>
              <index>
                <remove>
                  <name>trackerid</name>
              </remove>
            </index>
          </table>
        </change>
      </changeset>
    </constructive>
    <destructive>
      <changeset>
        <name>openads</name>
        <version>505</version>
      </changeset>
    </destructive>
  </instructionset>
