diff --git a/app/views/movies/index.html.erb b/app/views/movies/index.html.erb
index 106891a..bc4ea24 100644
--- a/app/views/movies/index.html.erb
+++ b/app/views/movies/index.html.erb
@@ -5,7 +5,9 @@
<% @movies.each do |movie| %>
- - <%= movie.title %> (<%= movie.rating %>): <%= number_to_currency(movie.total_gross, precision: 0) %>
+ - <%= movie.title %> (<%= movie.rating %>, <%= movie.released_on %>): <%= number_to_currency(movie.total_gross, precision: 0) %>
+
<%= movie.description %>
+
<% end %>
diff --git a/db/migrate/20230925183426_add_fields_to_movies.rb b/db/migrate/20230925183426_add_fields_to_movies.rb
new file mode 100644
index 0000000..286affd
--- /dev/null
+++ b/db/migrate/20230925183426_add_fields_to_movies.rb
@@ -0,0 +1,6 @@
+class AddFieldsToMovies < ActiveRecord::Migration[7.0]
+ def change
+ add_column :movies, :description, :text
+ add_column :movies, :released_on, :date
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index d55f641..7254875 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,13 +10,15 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema[7.0].define(version: 2023_09_25_181424) do
+ActiveRecord::Schema[7.0].define(version: 2023_09_25_183426) do
create_table "movies", force: :cascade do |t|
t.string "title"
t.string "rating"
t.decimal "total_gross"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
+ t.text "description"
+ t.date "released_on"
end
end