add migration and adapt fixture and factories

This commit is contained in:
viehlieb 2023-02-21 15:17:19 +01:00
parent c28731a1ea
commit ace6551880
4 changed files with 24 additions and 6 deletions

View file

@ -0,0 +1,6 @@
class AddPricePerToArticles < ActiveRecord::Migration[7.0]
def change
add_column :articles, :price_per, :float, default: 0.0
add_column :articles, :unit_symbol, :string
end
end