class CreatePcaAcoes < ActiveRecord::Migration[5.2]
  def change
    create_table :pca_acoes do |t|
      t.string :numero
      t.integer :unidade_orcamentaria_id
      t.integer :categoria_de_despesa
      t.integer :tipo_de_contratacao
      t.integer :prioridade
      t.integer :status
      t.date :data_de_cadastro
      t.date :data_de_previsao_da_contratacao
      t.text :objeto
      t.text :justificativa
      t.text :resultado_pretendido
      t.integer :responsavel_id
      t.integer :forma_de_contratacao_modalidade
      t.integer :forma_de_contratacao_modalidade_de_licitacao
      t.integer :orcamento_id
      t.text :justificativa_prioridade

      t.timestamps
    end
  end
end
