14 lines
309 B
Ruby
14 lines
309 B
Ruby
class CreateSorecopTaxes < ActiveRecord::Migration[6.0]
|
|
def change
|
|
create_table :sorecop_taxes do |t|
|
|
t.decimal :critere_min
|
|
t.decimal :critere_max
|
|
t.string :title
|
|
t.boolean :fixed_price
|
|
t.references :sorecop_cat_id, foreign_key: true
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|