This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
grindable/db/migrate/002_add_find_to_barista.rb

11 lines
211 B
Ruby
Raw Permalink Normal View History

2006-09-08 01:57:50 -04:00
class AddFindToBarista < ActiveRecord::Migration
def self.up
add_column :baristas, :fund_id, :integer
add_index :baristas, :fund_id
end
def self.down
drop_column :baristas, :fund_id
end
end