Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

merge 815b11e

  • Loading branch information...
commit fe9a0c9905518a7b9e028a1c9ff374d6efafe44a 1 parent 5a5be94
@technoweenie authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  generators/authenticated/templates/migration.rb
View
2  generators/authenticated/templates/migration.rb
@@ -14,6 +14,8 @@ def self.up
<% if options[:stateful] %>t.column :state, :string, :null => :no, :default => 'passive'
t.column :deleted_at, :datetime<% end %>
end
+
+ add_index "<%= table_name %>", :login, :unique => true
end
def self.down
Please sign in to comment.
Something went wrong with that request. Please try again.