class CreatePatrimonioRecebimentosDeBens < ActiveRecord::Migration[5.2]
  def change
    create_table :patrimonio_recebimentos_de_bens do |t|
      t.string :codigo
      t.date :data_do_recebimento
      t.integer :status
      t.integer :classificacao
      t.bigint :sub_elemento_de_despesa_id
      t.bigint :orcamento_id
      t.text :observacao
      t.bigint :unidade_orcamentaria_id
      t.string :numero_da_nota
      t.string :serie
      t.date :data_de_emissao
      t.bigint :doador_id

      t.timestamps
    end
  end
end
