<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml-stylesheet type="text/xsl" href="xsl/mdb2_changeset.xsl"?>
<instructionset>
  <name>openads</name>
  <version>544</version>
  <comments>UAPP Step 2</comments>
  <constructive>
    <changeset>
      <name>openads</name>
      <version>544</version>
      <add>
        <table>
        <name>account_preference_assoc</name>
        <was>account_preference_assoc</was>
      </table>
        <table>
        <name>preferences</name>
        <was>preferences</was>
      </table>
    </add>
    <change>
      <table>
        <name>accounts</name>
      <index>
        <add>
          <name>account_type</name>
          <was>account_type</was>
          <indexfield>
            <name>account_type</name>
            <sorting>ascending</sorting>
          </indexfield>
        </add>
      </index>
    </table>
      <table>
        <name>affiliates</name>
    </table>
      <table>
        <name>agency</name>
    </table>
      <table>
        <name>application_variable</name>
      <change>
        <field>
          <name>value</name>
          <length></length>
        </field>
      </change>
    </table>
      <table>
        <name>clients</name>
    </table>
  </change>
</changeset>
</constructive>
<destructive>
  <changeset>
    <name>openads</name>
    <version>544</version>
    <change>
      <table>
        <name>affiliates</name>
      <remove>
        <field>
          <name>username</name>
        </field>
          <field>
            <name>password</name>
          </field>
            <field>
              <name>permissions</name>
            </field>
              <field>
                <name>language</name>
              </field>
                <field>
                  <name>publiczones</name>
                </field>
                  <field>
                    <name>last_accepted_agency_agreement</name>
                  </field>
                </remove>
              </table>
                <table>
                  <name>agency</name>
                <remove>
                  <field>
                    <name>username</name>
                  </field>
                    <field>
                      <name>password</name>
                    </field>
                      <field>
                        <name>permissions</name>
                      </field>
                        <field>
                          <name>language</name>
                        </field>
                      </remove>
                    </table>
                      <table>
                        <name>clients</name>
                      <remove>
                        <field>
                          <name>clientusername</name>
                        </field>
                          <field>
                            <name>clientpassword</name>
                          </field>
                            <field>
                              <name>permissions</name>
                            </field>
                              <field>
                                <name>language</name>
                              </field>
                            </remove>
                          </table>
                        </change>
                      </changeset>
                    </destructive>
                  </instructionset>
