From 416e8049bc913cdcf1b84a90eeb5437ce5ac30e4 Mon Sep 17 00:00:00 2001 From: Jared Beck Date: Thu, 23 Jul 2015 15:15:58 -0400 Subject: [PATCH] Docs: Update options for add_reference [ci skip] --- .../connection_adapters/abstract/schema_statements.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index a30945d0ee..09ac083069 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -665,9 +665,11 @@ module ActiveRecord # [:index] # Add an appropriate index. Defaults to false. # [:foreign_key] - # Add an appropriate foreign key. Defaults to false. + # Add an appropriate foreign key constraint. Defaults to false. # [:polymorphic] # Whether an additional +_type+ column should be added. Defaults to false. + # [:null] + # Whether the column allows nulls. Defaults to true. # # ====== Create a user_id integer column #