class CreatePatrimonioDocumentosDoPatrimonio < ActiveRecord::Migration[5.2]
  def change
    create_table :patrimonio_documentos_do_patrimonio do |t|
      t.bigint :origem_id
      t.string :origem_type
      t.date :data_do_documento
      t.string :titulo_personalizado
      t.string :documento_file_name
      t.string :documento_content_type
      t.integer :documento_file_size
      t.datetime :documento_updated_at

      t.timestamps
    end
  end
end
