summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2016-08-04 17:01:47 +0100
committerNick Thomas <nick@gitlab.com>2016-08-04 17:01:47 +0100
commit98260f36cf697665509b89288c4208007d8ad6ce (patch)
tree1aa3bdbf33fa928d30c288143e311a4b506946fa
parentf301d547c2a3ca2a3f1fd07f9ddc4eb451e70244 (diff)
downloadgitlab-ce-98260f36cf697665509b89288c4208007d8ad6ce.tar.gz
Add missing DOWNTIME constant to the AddTimestampsToMembersAgain migration
-rw-r--r--db/migrate/20160804150737_add_timestamps_to_members_again.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20160804150737_add_timestamps_to_members_again.rb b/db/migrate/20160804150737_add_timestamps_to_members_again.rb
index 60f4e7af90f..6691ba57fbb 100644
--- a/db/migrate/20160804150737_add_timestamps_to_members_again.rb
+++ b/db/migrate/20160804150737_add_timestamps_to_members_again.rb
@@ -7,6 +7,7 @@
# Why this happened is lost in the mists of time, so repeat the SQL query
# without speculation, just in case more than one person was affected.
class AddTimestampsToMembersAgain < ActiveRecord::Migration
+ DOWNTIME = false
def up
execute "UPDATE members SET created_at = NOW() WHERE created_at IS NULL"