class CreateLicitacaoDocumentosDoEtp < ActiveRecord::Migration[5.2]
  def change
    create_table :licitacao_documentos_do_etp do |t|
      t.string :nome
      t.text :descricao
      t.integer :etp_id
      t.date :data_do_documento
      t.text :texto
      t.integer :usuario_id
      t.integer :modelo_do_documento_id
      t.string :documento_file_name
      t.string :documento_content_type
      t.integer :documento_file_size
      t.datetime :documento_updated_at
      t.string :numero
      t.datetime :created_at, null: false
      t.datetime :updated_at, null: false
      t.string :titulo_personalizado
    end
  end
end