summaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-23 17:49:32 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-23 17:49:32 +0000
commitedab0f0cbb85fb571097d2365bc8edc03962707e (patch)
tree1a0018cff2682b875d4bea200726665b584e2201 /db/migrate
parentbfcd5039f2884cb35f96ad6e64258c8a653c5348 (diff)
downloadredmine-edab0f0cbb85fb571097d2365bc8edc03962707e.tar.gz
redmine-edab0f0cbb85fb571097d2365bc8edc03962707e.zip
Do not mass create API keys for existing users.
They will be created on the fly if needed, just like for new users. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3221 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20091221004949_add_api_keys_for_users.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/db/migrate/20091221004949_add_api_keys_for_users.rb b/db/migrate/20091221004949_add_api_keys_for_users.rb
deleted file mode 100644
index 36fc7e1b3..000000000
--- a/db/migrate/20091221004949_add_api_keys_for_users.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-class AddApiKeysForUsers < ActiveRecord::Migration
- def self.up
- say_with_time("Generating API keys for active users") do
- User.active.all(:include => :api_token).each do |user|
- user.api_key
- end
- end
- end
-
- def self.down
- # No-op
- end
-end