books quantity
This commit is contained in:
parent
c2dfc1f04a
commit
733870ce96
7 changed files with 58 additions and 27 deletions
5
db/migrate/20210321235625_add_quantity_to_books.rb
Normal file
5
db/migrate/20210321235625_add_quantity_to_books.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddQuantityToBooks < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :books, :quantity, :integer
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue