test/db/version_6.rb in audited-4.7.1 vs test/db/version_6.rb in audited-4.8.0
- old
+ new
@@ -12,6 +12,8 @@
t.column :created_at, :datetime
t.column :remote_address, :string
t.column :associated_id, :integer
t.column :associated_type, :string
end
+
+ add_index :audits, [:auditable_type, :auditable_id], name: 'auditable_index'
end