class CreateLicitacaoSolucoesDoEtp < ActiveRecord::Migration[5.2]
  def change
    create_table :licitacao_solucoes_do_etp do |t|
      t.string :descricao_da_solucao
      t.string :categoria
      t.string :sub_categoria
      t.string :estimativa_de_preco
      t.string :justificativa_parcelamento_contratacao
      t.string :providencia_previa
      t.boolean :solucao_final
      t.references :etp, null: false, foreign_key: { to_table: :licitacao_etps }, index: { name: 'index_etp_on_licitacao_solucoes_do_etp' }
      t.timestamps
    end
  end
end