X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=db%2Fmigrate%2F012_rentables_director_int_to_str.rb;fp=db%2Fmigrate%2F012_rentables_director_int_to_str.rb;h=9498c14360d773763cda2876e82493a86844a42a;hb=4ab6702d5ac0ec4541e8a724ab5e4409630b5546;hp=0000000000000000000000000000000000000000;hpb=d13e443cd5c78d0d4d5053202a70a251b3e6d111;p=cs356-p2-videostore.git diff --git a/db/migrate/012_rentables_director_int_to_str.rb b/db/migrate/012_rentables_director_int_to_str.rb new file mode 100644 index 0000000..9498c14 --- /dev/null +++ b/db/migrate/012_rentables_director_int_to_str.rb @@ -0,0 +1,9 @@ +class RentablesDirectorIntToStr < ActiveRecord::Migration + def self.up + change_column :rentables, :director, :string + end + + def self.down + change_column :rentables, :director, :integer + end +end