Created
June 8, 2020 15:22
-
-
Save noelworden/f4fab240b18de3d58873facd196d013f to your computer and use it in GitHub Desktop.
This file contains 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
Enum.zip( | |
[:first_field_2, :second_field_2, :third_field_2], | |
[:first_field, :second_field, :third_field] | |
) | |
|> Enum.each(fn {key, value} -> rename(table("raw_nmi_product_detail"), key, to: value) end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment