Sha256: 9566dd60fbfbb51b92202d5c3057934c5a51ff2fa8f156477a7d9c0e2971f84f

Contents?: true

Size: 615 Bytes

Versions: 44

Compression:

Stored size: 615 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 :comment, :string
    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_2.rb
audited-4.2.2 test/db/version_2.rb
audited-4.2.1 test/db/version_2.rb
audited-4.2.0 test/db/version_2.rb
audited-4.0.0 test/db/version_2.rb
audited-4.0.0.rc1 test/db/version_2.rb
notifiably_audited-1.0.11 test/db/version_2.rb
notifiably_audited-1.0.10 test/db/version_2.rb
notifiably_audited-1.0.9 test/db/version_2.rb
notifiably_audited-1.0.8 test/db/version_2.rb
notifiably_audited-1.0.7 test/db/version_2.rb
notifiably_audited-1.0.6 test/db/version_2.rb
notifiably_audited-1.0.5 test/db/version_2.rb
notifiably_audited-1.0.4 test/db/version_2.rb
notifiably_audited-1.0.3 test/db/version_2.rb
notifiably_audited-1.0.2 test/db/version_2.rb
notifiably_audited-1.0.1 test/db/version_2.rb
notifiably_audited-1.0.0 test/db/version_2.rb
notifiably_audited-0.1.12 test/db/version_2.rb
notifiably_audited-0.1.11 test/db/version_2.rb