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/005_add_barista_create_date.rb

10 lines
184 B
Ruby

class AddBaristaCreateDate < ActiveRecord::Migration
def self.up
add_column :baristas, :created_on, :date
end
def self.down
drop_column :baristas, :created_on
end
end