Skip to content

Commit

Permalink
Merge pull request #21005 from jaredbeck/patch-1
Browse files Browse the repository at this point in the history
Docs: Update options for add_reference
  • Loading branch information
Arthur Nogueira Neves committed Oct 5, 2015
2 parents d2ef471 + 416e804 commit e202d59
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -702,9 +702,11 @@ def index_name_exists?(table_name, index_name, default)
# [<tt>:index</tt>]
# Add an appropriate index. Defaults to false.
# [<tt>:foreign_key</tt>]
# Add an appropriate foreign key. Defaults to false.
# Add an appropriate foreign key constraint. Defaults to false.
# [<tt>:polymorphic</tt>]
# Whether an additional +_type+ column should be added. Defaults to false.
# [<tt>:null</tt>]
# Whether the column allows nulls. Defaults to true.
#
# ====== Create a user_id integer column
#
Expand Down

0 comments on commit e202d59

Please sign in to comment.