Sha256: e38a143d7cd559418ae45be262bb37b20ec60c48d2e9e8391204973d29692c2f
Contents?: true
Size: 529 Bytes
Versions: 37
Compression:
Stored size: 529 Bytes
Contents
class CreateChecksumAuditLogs < ActiveRecord::Migration def self.up create_table :checksum_audit_logs do |t| t.string :pid t.string :dsid t.string :version t.integer :pass t.string :expected_result t.string :actual_result t.timestamps end add_index :checksum_audit_logs, [:pid, :dsid], name: 'by_pid_and_dsid', order: {created_at: "DESC" } end def self.down remove_index(:checksum_audit_logs, name: 'by_pid_and_dsid') drop_table :checksum_audit_logs end end
Version data entries
37 entries across 37 versions & 2 rubygems