You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
438 B
12 lines
438 B
class AddDerivedFields < ActiveRecord::Migration[7.0] |
|
def change |
|
change_table :case_logs, bulk: true do |t| |
|
t.decimal :wrent, precision: 10, scale: 2 |
|
t.decimal :wscharge, precision: 10, scale: 2 |
|
t.decimal :wpschrge, precision: 10, scale: 2 |
|
t.decimal :wsupchrg, precision: 10, scale: 2 |
|
t.decimal :wtcharge, precision: 10, scale: 2 |
|
t.decimal :wtshortfall, precision: 10, scale: 2 |
|
end |
|
end |
|
end
|
|
|