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
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2016-08-04 19:01:47 +0300
committerNick Thomas <nick@gitlab.com>2016-08-04 19:01:47 +0300
commit98260f36cf697665509b89288c4208007d8ad6ce (patch)
tree1aa3bdbf33fa928d30c288143e311a4b506946fa /db/migrate
parentf301d547c2a3ca2a3f1fd07f9ddc4eb451e70244 (diff)
Add missing DOWNTIME constant to the AddTimestampsToMembersAgain migration
Diffstat (limited to 'db/migrate')
-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"