Add ratings to movies

This commit is contained in:
2024-01-26 10:56:44 +11:00
parent 62f3d1b800
commit def06e17e8
4 changed files with 36 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
# frozen_string_literal: true
ROM::SQL.migration do
change do
alter_table(:movies) do
add_column :rating, :float, default: 0.0
end
end
end