blob: a53e4fae24bf7ca2d7536a38ca888b1f79071dd5 (
plain)
1
2
3
4
5
6
7
8
|
class AddRestingToCharacters < ActiveRecord::Migration[6.1]
def change
add_column :characters, :rested_duration, :integer
add_column :characters, :started_resting_at, :timestamp
Character.update_all(rested_duration: 0)
end
end
|