Skip to content

Commit

Permalink
Fix problem for db migrations for books_app
Browse files Browse the repository at this point in the history
  • Loading branch information
igaiga committed Jan 19, 2022
1 parent a187f32 commit cbb69f1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class AddAuthorToBooks < ActiveRecord::Migration[6.0]
class AddAuthorToBooks < ActiveRecord::Migration[7.0]
def change
add_column :books, :author, :string
end
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class AddPictureToBooks < ActiveRecord::Migration[6.0]
class AddPictureToBooks < ActiveRecord::Migration[7.0]
def change
add_column :books, :picture, :string
end
Expand Down
2 changes: 1 addition & 1 deletion books_app/db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cbb69f1

Please sign in to comment.