Add missing DOWNTIME constant to the AddTimestampsToMembersAgain migration
This commit is contained in:
parent
f301d547c2
commit
98260f36cf
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
# Why this happened is lost in the mists of time, so repeat the SQL query
|
# 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.
|
# without speculation, just in case more than one person was affected.
|
||||||
class AddTimestampsToMembersAgain < ActiveRecord::Migration
|
class AddTimestampsToMembersAgain < ActiveRecord::Migration
|
||||||
|
DOWNTIME = false
|
||||||
|
|
||||||
def up
|
def up
|
||||||
execute "UPDATE members SET created_at = NOW() WHERE created_at IS NULL"
|
execute "UPDATE members SET created_at = NOW() WHERE created_at IS NULL"
|
||||||
|
|
Loading…
Reference in a new issue