Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

Commit

Permalink
merge 815b11e
Browse files Browse the repository at this point in the history
  • Loading branch information
technoweenie committed May 26, 2008
1 parent 5a5be94 commit fe9a0c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generators/authenticated/templates/migration.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ def self.up
<% if options[:stateful] %>t.column :state, :string, :null => :no, :default => 'passive' <% if options[:stateful] %>t.column :state, :string, :null => :no, :default => 'passive'
t.column :deleted_at, :datetime<% end %> t.column :deleted_at, :datetime<% end %>
end end
add_index "<%= table_name %>", :login, :unique => true
end end


def self.down def self.down
Expand Down

0 comments on commit fe9a0c9

Please sign in to comment.