Skip to content

Commit

Permalink
Fix comment for Generator#unique
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Oct 8, 2008
1 parent 4b4e3d2 commit 076b8c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sequel_core/schema/generator.rb
Expand Up @@ -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)
Expand Down

0 comments on commit 076b8c0

Please sign in to comment.