2016-10-11 03:55:49 +03:00
|
|
|
class Event < ActiveRecord::Base
|
|
|
|
end
|
|
|
|
|
2019-04-28 11:56:16 +03:00
|
|
|
class AddDescriptionsForAllEvents < ActiveRecord::Migration[4.2]
|
2016-10-11 03:55:49 +03:00
|
|
|
def up
|
2019-04-28 21:10:54 +03:00
|
|
|
Event.where(description: [nil, ""]).update_all(description: "n/a")
|
2016-10-11 03:55:49 +03:00
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
end
|
|
|
|
end
|