test/model/book.rb in second_level_cache-2.5.2 vs test/model/book.rb in second_level_cache-2.5.3
- old
+ new
@@ -2,10 +2,12 @@
ActiveRecord::Base.connection.create_table(:books, force: true) do |t|
t.string :title
t.string :body
t.integer :user_id
+ t.decimal :discount_percentage, precision: 5, scale: 2
t.integer :images_count, default: 0
+ t.date :publish_date
end
class Book < ActiveRecord::Base
second_level_cache