Permalink
Browse files

merge 815b11e

  • Loading branch information...
1 parent 5a5be94 commit fe9a0c9905518a7b9e028a1c9ff374d6efafe44a @technoweenie committed May 26, 2008
Showing with 2 additions and 0 deletions.
  1. +2 −0 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

0 comments on commit fe9a0c9

Please sign in to comment.