Sha256: 975f000bb563e02d4e9862cfa5f49a11937cbe10ac428c6b416cd4e07cafda2e

Contents?: true

Size: 662 Bytes

Versions: 43

Compression:

Stored size: 662 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 :audited_changes, :text
    t.column :version, :integer, :default => 0
    t.column :comment, :string
    t.column :created_at, :datetime
    t.column :remote_address, :string
  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

43 entries across 39 versions & 4 rubygems

Version Path
acts_as_audited-2.0.0.rc7 test/db/version_4.rb
acts_as_audited-2.0.0.rc6 test/db/version_4.rb
acts_as_audited-2.0.0.rc5 test/db/version_4.rb