From 8e2a4d398325f52a54726f3f585f85514353e929 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Thu, 1 Feb 2024 14:59:01 -0800 Subject: [PATCH] Fix options argument number in column options documentation Mentioned a few months ago in discussion #2085. --- doc/schema_modification.rdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/schema_modification.rdoc b/doc/schema_modification.rdoc index fcb5af4d8a..ac38d7d05e 100644 --- a/doc/schema_modification.rdoc +++ b/doc/schema_modification.rdoc @@ -81,8 +81,8 @@ appropriate 64-bit integer type for the database you are using. === Column options -When using the type name as method, the third argument is an options hash, and when using the +column+ -method, the fourth argument is the options hash. The following options are supported: +When using the type name as method, the second argument is an options hash, and when using the +column+ +method, the third argument is the options hash. The following options are supported: :default :: The default value for the column. :index :: Create an index on this column. If given a hash, use the hash as the