Skip to content

Instantly share code, notes, and snippets.

@dannykopping
Created August 31, 2010 01:14
Show Gist options
  • Select an option

  • Save dannykopping/558356 to your computer and use it in GitHub Desktop.

Select an option

Save dannykopping/558356 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<databases>
<from>
<host>localhost</host>
<username>flexologist</username>
<password>flexologist</password>
<database>flexologist_migration_from</database>
</from>
<to>
<host>localhost</host>
<username>flexologist</username>
<password>flexologist</password>
<database>flexologist_migration_to</database>
</to>
</databases>
<migrations>
<migration>
<from table="users"/>
<to table="members"/>
<transformations>
<field from="username" to="username" type="string"/>
<field from="firstName" to="name" type="string"/>
<field from="lastName" to="surname" type="string"/>
<field from="age" to="age" type="int"/>
</transformations>
<!-- Available types-->
<!-- string, int, boolean, blob, clob -->
</migration>
</migrations>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment