Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

List :name as option for DB.add_index #754

Merged
merged 1 commit into from

2 participants

@aguynamedryan

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

Thanks for Sequel. It rocks!

@jeremyevans
Owner

Thanks for the patch!

@jeremyevans jeremyevans merged commit 0648099 into jeremyevans:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 10, 2014
  1. @aguynamedryan
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
View
1  lib/sequel/database/schema_methods.rb
@@ -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.