Move DB dir
This commit is contained in:
9
config/db/migrate/20240125232452_add_rating_to_movies.rb
Normal file
9
config/db/migrate/20240125232452_add_rating_to_movies.rb
Normal 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
|
Reference in New Issue
Block a user