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