Created
August 31, 2010 01:14
-
-
Save dannykopping/558356 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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