bookstore/db/migrate/20210321235625_add_quantity_to_books.rb

8 lines
153 B
Ruby
Raw Normal View History

2021-03-22 03:16:29 +01:00
# frozen_string_literal: true
2021-03-22 01:24:13 +01:00
class AddQuantityToBooks < ActiveRecord::Migration[6.1]
def change
add_column :books, :quantity, :integer
end
end