photomix/db/migrate/20090529155414_add_note_to_album.rb

10 lines
164 B
Ruby
Raw Normal View History

2009-06-02 00:08:57 +02:00
class AddNoteToAlbum < ActiveRecord::Migration
def self.up
add_column :albums, :note, :text
end
def self.down
remove_column :albums, :note
end
end