impress/db/migrate/20120716193946_add_image_layers_hash_to_outfit.rb

10 lines
225 B
Ruby
Raw Permalink Normal View History

class AddImageLayersHashToOutfit < ActiveRecord::Migration[4.2]
2012-07-16 13:47:28 -07:00
def self.up
add_column :outfits, :image_layers_hash, :string, :length => 8
end
def self.down
remove_column :outfits, :image_layers_hash
end
end