# -*- coding: utf-8 -*-
class CreateFamilyMailsTable < ActiveRecord::Migration
#|№| когда|email кому |логин|раздел сделки|id услуги|урл-тикета|id отчета|

  def self.up
    create_table :family_mails do |t|
      t.string :email, :department, :ticket_url
      t.integer :service_id, :report_id, :login_id
      t.datetime :created_at
    end
  end

   def self.down
    drop_table :family_mails

  end
end


