Skip to content

Commit

Permalink
fix: Add missing migration for articles table
Browse files Browse the repository at this point in the history
"max_quantity" column was introduced with v4.9
This commit adds the missing migration
  • Loading branch information
kidhab committed Jul 12, 2024
1 parent 58c8fee commit f3055de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions db/migrate/20240712072045_add_max_quantity_to_articles.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class AddMaxQuantityToArticles < ActiveRecord::Migration[7.0]
def change
add_column :articles, :max_quantity, :integer
end
end

Check failure on line 6 in db/migrate/20240712072045_add_max_quantity_to_articles.rb

View workflow job for this annotation

GitHub Actions / test

Layout/TrailingWhitespace: Trailing whitespace detected.

0 comments on commit f3055de

Please sign in to comment.