Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorAndrew8xx8 <avk@8xx8.ru>2013-03-05 14:29:44 +0400
committerAndrew8xx8 <avk@8xx8.ru>2013-03-05 14:29:44 +0400
commitc6d6bd6ab48c999c46e3944bd037f6b34f55fa93 (patch)
treeaa83ca15742059d45ba05b31e24736848faccd99 /db
parent0d9a6fe7b16e52cc4d5595d6b26552c39911cf07 (diff)
Typo fixed
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20130304104740_convert_blocked_to_state.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20130304104740_convert_blocked_to_state.rb b/db/migrate/20130304104740_convert_blocked_to_state.rb
index 91c65d4fd39..e8d5257ac96 100644
--- a/db/migrate/20130304104740_convert_blocked_to_state.rb
+++ b/db/migrate/20130304104740_convert_blocked_to_state.rb
@@ -8,7 +8,7 @@ class ConvertBlockedToState < ActiveRecord::Migration
def down
User.transaction do
- User.where(satate: :blocked).update_all(blocked: :true)
+ User.where(state: :blocked).update_all(blocked: :true)
end
end
end