class CreateContabilidadeTransferenciasDeSaldoPcasp < ActiveRecord::Migration[5.2]
  def change
    create_table :contabilidade_transferencias_de_saldo_pcasp do |t|
      t.date :data_transferencia
      t.integer :unidade_orcamentaria_id
      t.integer :conta_debito_id
      t.integer :conta_credito_id
      t.integer :sub_conta_pcasp_id
      t.text :historico
      t.decimal :valor
      t.integer :orcamento_id
      t.integer :evento_contabil_id
      t.integer :movimento_credito_id
      t.integer :movimento_debito_id

      t.timestamps
    end
  end
end
