aboutsummaryrefslogtreecommitdiffstats
path: root/spec/dummy/db/migrate/20110802081564_remove_password_salt_from_users.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/dummy/db/migrate/20110802081564_remove_password_salt_from_users.rb')
m---------spec/dummy0
-rw-r--r--spec/dummy/db/migrate/20110802081564_remove_password_salt_from_users.rb13
2 files changed, 0 insertions, 13 deletions
diff --git a/spec/dummy b/spec/dummy
new file mode 160000
+Subproject 84d66350ec474665e7d436dca479a142b091f87
diff --git a/spec/dummy/db/migrate/20110802081564_remove_password_salt_from_users.rb b/spec/dummy/db/migrate/20110802081564_remove_password_salt_from_users.rb
deleted file mode 100644
index afcbfd7..0000000
--- a/spec/dummy/db/migrate/20110802081564_remove_password_salt_from_users.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-class RemovePasswordSaltFromUsers < ActiveRecord::Migration
- def self.up
- remove_column ::Refinery::User.table_name, :password_salt
- # Make the current password invalid :(
- ::Refinery::User.all.each do |u|
- u.update_attribute(:encrypted_password, u.encrypted_password[29..-1])
- end
- end
-
- def self.down
- add_column ::Refinery::User.table_name, :password_salt, :string
- end
-end