Skip to content

Commit

Permalink
Fix options argument number in column options documentation
Browse files Browse the repository at this point in the history
Mentioned a few months ago in discussion #2085.
  • Loading branch information
jeremyevans committed Feb 1, 2024
1 parent 88a4982 commit 8e2a4d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/schema_modification.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e2a4d3

Please sign in to comment.