diff options
author | Nick Thomas <nick@gitlab.com> | 2016-08-04 19:01:47 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2016-08-04 19:01:47 +0300 |
commit | 98260f36cf697665509b89288c4208007d8ad6ce (patch) | |
tree | 1aa3bdbf33fa928d30c288143e311a4b506946fa /db/migrate/20160804150737_add_timestamps_to_members_again.rb | |
parent | f301d547c2a3ca2a3f1fd07f9ddc4eb451e70244 (diff) |
Add missing DOWNTIME constant to the AddTimestampsToMembersAgain migration
Diffstat (limited to 'db/migrate/20160804150737_add_timestamps_to_members_again.rb')
-rw-r--r-- | db/migrate/20160804150737_add_timestamps_to_members_again.rb | 1 |
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" |