blob: 300381ad65bb3ccd5a3630bdf29b2edb5c106cec (
plain)
1
2
3
4
5
6
7
8
9
|
# rubocop:disable all
class SetMissingLastActivityAt < ActiveRecord::Migration
def up
execute "UPDATE projects SET last_activity_at = updated_at WHERE last_activity_at IS NULL"
end
def down
end
end
|