Sha256: 187d44c3b900f4794e2b6ec31ba5a9edabbd46ec9466058c8e8c8816d5b417da

Contents?: true

Size: 591 Bytes

Versions: 36

Compression:

Stored size: 591 Bytes

Contents

class CreateChecksumAuditLogs < ActiveRecord::Migration[5.2]
  def self.up
    create_table :checksum_audit_logs do |t|
      t.string :file_set_id
      t.string :file_id
      t.string :version
      t.integer :pass
      t.string :expected_result
      t.string :actual_result
      t.timestamps null: false
    end
    add_index :checksum_audit_logs, [:file_set_id, :file_id], name: 'by_file_set_id_and_file_id', order: { created_at: 'DESC' }
  end

  def self.down
    remove_index(:checksum_audit_logs, name: 'by_file_set_id_and_file_id')
    drop_table :checksum_audit_logs
  end
end

Version data entries

36 entries across 25 versions & 1 rubygems

Version Path
hyrax-5.0.2 .dassie/db/migrate/20200821212829_create_checksum_audit_logs.hyrax.rb
hyrax-5.0.2 .koppie/db/migrate/20210911143533_create_checksum_audit_logs.hyrax.rb
hyrax-5.0.1 .koppie/db/migrate/20210911143533_create_checksum_audit_logs.hyrax.rb
hyrax-5.0.1 .dassie/db/migrate/20200821212829_create_checksum_audit_logs.hyrax.rb
hyrax-5.0.0 .dassie/db/migrate/20200821212829_create_checksum_audit_logs.hyrax.rb
hyrax-5.0.0 .koppie/db/migrate/20210911143533_create_checksum_audit_logs.hyrax.rb
hyrax-5.0.0.rc3 .koppie/db/migrate/20210911143533_create_checksum_audit_logs.hyrax.rb
hyrax-5.0.0.rc3 .dassie/db/migrate/20200821212829_create_checksum_audit_logs.hyrax.rb
hyrax-5.0.0.rc2 .koppie/db/migrate/20210911143533_create_checksum_audit_logs.hyrax.rb
hyrax-5.0.0.rc2 .dassie/db/migrate/20200821212829_create_checksum_audit_logs.hyrax.rb
hyrax-5.0.0.rc1 .dassie/db/migrate/20200821212829_create_checksum_audit_logs.hyrax.rb
hyrax-5.0.0.rc1 .koppie/db/migrate/20210911143533_create_checksum_audit_logs.hyrax.rb
hyrax-3.6.0 .dassie/db/migrate/20200821212829_create_checksum_audit_logs.hyrax.rb
hyrax-4.0.0 .dassie/db/migrate/20200821212829_create_checksum_audit_logs.hyrax.rb
hyrax-4.0.0 .koppie/db/migrate/20210911143533_create_checksum_audit_logs.hyrax.rb
hyrax-4.0.0.rc3 .dassie/db/migrate/20200821212829_create_checksum_audit_logs.hyrax.rb
hyrax-4.0.0.rc3 .koppie/db/migrate/20210911143533_create_checksum_audit_logs.hyrax.rb
hyrax-4.0.0.rc2 .koppie/db/migrate/20210911143533_create_checksum_audit_logs.hyrax.rb
hyrax-4.0.0.rc2 .dassie/db/migrate/20200821212829_create_checksum_audit_logs.hyrax.rb
hyrax-4.0.0.rc1 .koppie/db/migrate/20210911143533_create_checksum_audit_logs.hyrax.rb