Sha256: 33dd0a251c8e43f5e279755727f88a0a7577942dc75e840e8fc769279ef9c9ad

Contents?: true

Size: 540 Bytes

Versions: 49

Compression:

Stored size: 540 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

49 entries across 49 versions & 3 rubygems

Version Path
curate-0.6.0 spec/internal/db/migrate/20131126132868_create_checksum_audit_logs.rb
curate-0.5.6 spec/internal/db/migrate/20131114003114_create_checksum_audit_logs.rb
curate-0.5.5 spec/internal/db/migrate/20131114003114_create_checksum_audit_logs.rb
curate-0.5.4 spec/internal/db/migrate/20131111192765_create_checksum_audit_logs.rb
curate-0.5.2 spec/internal/db/migrate/20131106182751_create_checksum_audit_logs.rb
sufia-3.4.0 sufia-models/lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb
sufia-models-3.4.0 lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb
curate-0.5.1 spec/internal/db/migrate/20131028141214_create_checksum_audit_logs.rb
sufia-3.4.0.rc4 sufia-models/lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb
sufia-models-3.4.0.rc4 lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb
curate-0.5.0 spec/internal/db/migrate/20131018143669_create_checksum_audit_logs.rb
sufia-3.4.0.rc3 sufia-models/lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb
sufia-models-3.4.0.rc3 lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb
sufia-3.3.1 sufia-models/lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb
sufia-models-3.3.1 lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb
sufia-3.4.0.rc2 sufia-models/lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb
sufia-models-3.4.0.rc2 lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb
sufia-3.4.0.rc1 sufia-models/lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb
sufia-models-3.4.0.rc1 lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb
sufia-3.3.0 sufia-models/lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb