This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/db/migrate/20210923165046_create_sorecop_taxes.rb
2021-09-23 18:52:52 +02:00

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