class CreateSalaries < ActiveRecord::Migration
  def self.up
    create_table :salaries do |t|
      t.column :division_id, :int
      t.column :position, :string
      t.column :sum, :decimal,  :precision => 10, :scale => 2
      t.column :date_from, :date
    end
  end

  def self.down
    drop_table :salaries
  end
end
