<?xml version="1.0" encoding="utf-8"?>

<test>
<table>
    <table-name>Schema</table-name>
    <schema>
	<schema-major>1</schema-major>
	<schema-minor>0</schema-minor>
    </schema>
    <column>
	<column-name>name</column-name>
	<column-type>STRING</column-type>
	<column-size>MEDIUM</column-size>
        <not-null/>
    </column>
    <column>
	<column-name>major</column-name>
	<column-type>INTEGER</column-type>
	<column-size>MEDIUM</column-size>
        <not-null/>
    </column>
    <column>
	<column-name>minor</column-name>
	<column-type>INTEGER</column-type>
	<column-size>MEDIUM</column-size>
        <not-null/>
    </column>
    <key primary="true">
        <column-name>name</column-name>
    </key>
</table>

<change>
  <schema-from>
    <schema-major>1</schema-major>
    <schema-minor>0</schema-minor>
  </schema-from>
  <schema-to>
    <schema-major>1</schema-major>
    <schema-minor>1</schema-minor>
  </schema-to>
  <table-name>Schema</table-name>
  <add>
    <column>
      <column-name>testCol</column-name>
      <column-type>STRING</column-type>
      <column-size>MEDIUM</column-size>
    </column>
    <index>
      <column-name>testCol</column-name>
   </index>
  </add>
</change>

<change>
  <schema-from>
    <schema-major>1</schema-major>
    <schema-minor>1</schema-minor>
  </schema-from>
  <schema-to>
    <schema-major>1</schema-major>
    <schema-minor>2</schema-minor>
  </schema-to>
  <table-name>Schema</table-name>
  <remove>
    <index>
      <column-name>testCol</column-name>
   </index>
  </remove>
</change>

<remove>
  <table-name>Schema</table-name>
</remove>
</test>