This commit is contained in:
5
db/migrate/20240625202351_add_theme_to_book.rb
Normal file
5
db/migrate/20240625202351_add_theme_to_book.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddThemeToBook < ActiveRecord::Migration[8.0]
|
||||
change_table(:books) do |t|
|
||||
t.string :theme, default: "blue", null: false
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user