Basis of rails-driven app for local business
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
class AddAddressToEmployee < ActiveRecord::Migration def self.up add_column :people, :street, :string add_column :people, :city, :string add_column :people, :state, :string add_column :people, :zip, :string add_column :people, :phone, :string end
def self.down remove_column :people, :phone remove_column :people, :zip remove_column :people, :state remove_column :people, :city remove_column :people, :street end end
|