Sha256: d2032b664d7cd003cb6c72933b7f2c88c777e02acbf16434ca0f42c2ec78bb28

Contents?: true

Size: 584 Bytes

Versions: 44

Compression:

Stored size: 584 Bytes

Contents

ActiveRecord::Schema.define do
  create_table :audits, :force => true do |t|
    t.column :auditable_id, :integer
    t.column :auditable_type, :string
    t.column :user_id, :integer
    t.column :user_type, :string
    t.column :username, :string
    t.column :action, :string
    t.column :changes, :text
    t.column :version, :integer, :default => 0
    t.column :created_at, :datetime
  end

  add_index :audits, [:auditable_id, :auditable_type], :name => 'auditable_index'
  add_index :audits, [:user_id, :user_type], :name => 'user_index'
  add_index :audits, :created_at
end

Version data entries

44 entries across 40 versions & 4 rubygems

Version Path
notifiably_audited-3.0.0 test/db/version_1.rb
audited-4.2.2 test/db/version_1.rb
audited-4.2.1 test/db/version_1.rb
audited-4.2.0 test/db/version_1.rb
audited-4.0.0 test/db/version_1.rb
audited-4.0.0.rc1 test/db/version_1.rb
notifiably_audited-1.0.11 test/db/version_1.rb
notifiably_audited-1.0.10 test/db/version_1.rb
notifiably_audited-1.0.9 test/db/version_1.rb
notifiably_audited-1.0.8 test/db/version_1.rb
notifiably_audited-1.0.7 test/db/version_1.rb
notifiably_audited-1.0.6 test/db/version_1.rb
notifiably_audited-1.0.5 test/db/version_1.rb
notifiably_audited-1.0.4 test/db/version_1.rb
notifiably_audited-1.0.3 test/db/version_1.rb
notifiably_audited-1.0.2 test/db/version_1.rb
notifiably_audited-1.0.1 test/db/version_1.rb
notifiably_audited-1.0.0 test/db/version_1.rb
notifiably_audited-0.1.12 test/db/version_1.rb
notifiably_audited-0.1.11 test/db/version_1.rb