foodsoft/db/migrate/20090812110010_add_note_to_...

10 lines
182 B
Ruby

class AddNoteToDeliveries < ActiveRecord::Migration[4.2]
def self.up
add_column :deliveries, :note, :text
end
def self.down
remove_column :deliveries, :note
end
end