Sha256: d2bc7611ef78b16c7536c4ba75d1d4df2e616f587b4f09f28f557df045d5185e

Contents?: true

Size: 624 Bytes

Versions: 44

Compression:

Stored size: 624 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
  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-0.0.7 test/db/version_3.rb
notifiably_audited-0.0.5 test/db/version_3.rb
notifiably_audited-0.0.4 test/db/version_3.rb
notifiably_audited-0.0.3 test/db/version_3.rb
notifiably_audited-0.0.2 test/db/version_3.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/audited-3.0.0/test/db/version_3.rb
audited-3.0.0 test/db/version_3.rb
audited-3.0.0.rc2 test/db/version_3.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/audited-3.0.0.rc1/test/db/version_3.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/acts_as_audited-2.1.0/test/db/version_3.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/audited-3.0.0.rc1/test/db/version_3.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/acts_as_audited-2.1.0/test/db/version_3.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/acts_as_audited-2.1.0/test/db/version_3.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/audited-3.0.0.rc1/test/db/version_3.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/acts_as_audited-2.1.0/test/db/version_3.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/audited-3.0.0.rc1/test/db/version_3.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/acts_as_audited-2.1.0/test/db/version_3.rb
audited-3.0.0.rc1 test/db/version_3.rb
acts_as_audited-2.1.0 test/db/version_3.rb
acts_as_audited-2.0.0 test/db/version_3.rb