Sha256: 3c10ffd53d3db3d7d46139ae14321c7dcf120a4a049af5ce66b1f2e80d98786b

Contents?: true

Size: 477 Bytes

Versions: 2

Compression:

Stored size: 477 Bytes

Contents

class CreateClientRepresentatives < ActiveRecord::Migration
  def self.up
    create_table :client_representatives do |t|
      t.integer  :client_id
      t.string   :first_name, :last_name, :title, :cell_phone, :email_address, :password
#      t.boolean  :accepts_tos, :default => 0, :null => false
      t.integer  :accepts_tos_version, :default => 0
      t.text     :notes
      t.timestamps
    end
  end

  def self.down
    drop_table :client_representatives
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brisk-bills-0.8.2 db/migrate/006_create_client_representatives.rb
brisk-bills-0.8.1 db/migrate/006_create_client_representatives.rb