Skip to content

Instantly share code, notes, and snippets.

@zentetsukenz
Created January 31, 2016 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zentetsukenz/db7f931032b0296e5251 to your computer and use it in GitHub Desktop.
Save zentetsukenz/db7f931032b0296e5251 to your computer and use it in GitHub Desktop.
add_foreign_key :source_table_name, :target_table_name, column: :explicit_column_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment