Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix comment for Generator#unique

  • Loading branch information...
commit 076b8c0926b5a76f904a7dc2448fe9c72ffa8f9d 1 parent 4b4e3d2
@jeremyevans authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/sequel_core/schema/generator.rb
View
2  lib/sequel_core/schema/generator.rb
@@ -145,7 +145,7 @@ def spatial_index(columns, opts = {})
index(columns, opts.merge(:type => :spatial))
end
- # Add a unique index on the given columns to the DDL.
+ # Add a unique constraint on the given columns to the DDL.
def unique(columns, opts = {})
@columns << {:type => :check, :constraint_type => :unique,
:name => nil, :columns => Array(columns)}.merge(opts)
Please sign in to comment.
Something went wrong with that request. Please try again.