Skip to content

Instantly share code, notes, and snippets.

@jazzdan
Created May 7, 2012 19:08
Show Gist options
  • Save jazzdan/2629755 to your computer and use it in GitHub Desktop.
Save jazzdan/2629755 to your computer and use it in GitHub Desktop.
Example Shift YAML File
from:
adapter:
database:
port:
username:
password:
host:
to:
adapter:
database:
port:
username:
password:
host:
mapping:
- {"column", "column2"}
- {"column", "column2"}
@joeycarmello
Copy link

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

@jazzdan
Copy link
Author

jazzdan commented May 7, 2012

I wouldn't have to define the types at all since the types would be defined (and thus inferred) in both schemas already. (Right?)

@joeycarmello
Copy link

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