Created
May 7, 2012 19:08
-
-
Save jazzdan/2629755 to your computer and use it in GitHub Desktop.
Example Shift YAML File
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
from: | |
adapter: | |
database: | |
port: | |
username: | |
password: | |
host: | |
to: | |
adapter: | |
database: | |
port: | |
username: | |
password: | |
host: | |
mapping: | |
- {"column", "column2"} | |
- {"column", "column2"} | |
Yes. That's probably going to be the hard part...
Each mapping row is one column from A to one to B?
Yeah so for example:
mapping:
- {"budgetId", "budget_id"}
Well you don't have to define the types from the source table at least.
So like:
Line.budget_id to Line.budgetID as string
I wouldn't have to define the types at all since the types would be defined (and thus inferred) in both schemas already. (Right?)
Oh right. I thought for a moment you'd be creating a new table.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
interesting. will there be support for converting types or anything like that?