class CreateProjecaoProjecoesDeReceitas < ActiveRecord::Migration[4.2]
  def change
    create_table :projecao_projecoes_de_receitas do |t|
      t.string :descricao
      t.boolean :receitas_importadas, default: false
			t.integer :exercicio_base_inicial, limit: 6
			t.integer :exercicio_base_final, limit: 6
			t.integer :exercicio_corrente, limit: 6
			t.integer :exercicio_projecao_inicial, limit: 6
			t.integer :exercicio_projecao_final, limit: 6

      t.timestamps null: false
    end
  end
end
