class CreateDoneEmployees < ActiveRecord::Migration
  def self.up
    create_table :done_employees do |t|

        t.column :id, :int
	t.column :name, :string
	t.column :empl_id, :int
	t.column :empl_name, :string
	t.column :report_id, :int
	t.column :date_create_report, :string
	t.column :role, :int
	t.column :time_work, :string
	t.column :time_stopwork, :string
	t.column :time_addwork, :string
	t.column :sum, :string
    end
  end

  def self.down
    drop_table :done_employees
  end
end
