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