Skip to content

Commit

Permalink
Drop stock level from product!
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszreszke committed Oct 11, 2024
1 parent bf4478a commit fb51f30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class DropStockLevelFromProduct < ActiveRecord::Migration[7.0]
def change
remove_column :products, :stock_level
end
end
1 change: 0 additions & 1 deletion rails_application/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@
t.string "category"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "stock_level"
t.decimal "future_price", precision: 8, scale: 2
t.datetime "future_price_start_time"
t.boolean "latest", default: true
Expand Down

0 comments on commit fb51f30

Please sign in to comment.