Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

List :name as option for DB.add_index #754

Merged
merged 1 commit into from

2 participants

Ryan Duryea Jeremy Evans
Ryan Duryea

Added a line to the add_index documentation to show that :name is an option.

Thanks for Sequel. It rocks!

Jeremy Evans
Owner

Thanks for the patch!

Jeremy Evans jeremyevans merged commit 0648099 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 10, 2014
  1. Ryan Duryea
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/sequel/database/schema_methods.rb
1  lib/sequel/database/schema_methods.rb
View
@@ -44,6 +44,7 @@ def add_column(table, *args)
#
# Options:
# :ignore_errors :: Ignore any DatabaseErrors that are raised
+ # :name :: Name to use for index instead of default
#
# See <tt>alter_table</tt>.
def add_index(table, columns, options=OPTS)
Something went wrong with that request. Please try again.