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.
11 lines
363 B
11 lines
363 B
2 years ago
|
class AddPriceFields < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
change_table :sales_logs, bulk: true do |t|
|
||
|
t.column :value, :decimal, precision: 10, scale: 2
|
||
|
t.column :equity, :decimal, precision: 10, scale: 2
|
||
|
t.column :discount, :decimal, precision: 10, scale: 2
|
||
|
t.column :grant, :decimal, precision: 10, scale: 2
|
||
|
end
|
||
|
end
|
||
|
end
|