Add missing DOWNTIME constant to the AddTimestampsToMembersAgain migration

This commit is contained in:
Nick Thomas 2016-08-04 17:01:47 +01:00
parent f301d547c2
commit 98260f36cf

View file

@ -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"