class AddAttachColumnsToMusicAlbums < ActiveRecord::Migration
  def self.up
    add_column :music_albums, :music_album_attach_file_name,    :string
    add_column :music_albums, :music_album_attach_content_type, :string
    add_column :music_albums, :music_album_attach_file_size,    :integer
    add_column :music_albums, :music_album_attach_updated_at,   :datetime
  end

  def self.down
    remove_column :music_albums, :music_album_attach_file_name
    remove_column :music_albums, :music_album_attach_content_type
    remove_column :music_albums, :music_album_attach_file_size
    remove_column :music_albums, :music_album_attach_updated_at
  end
end
