test/model/topic.rb in second_level_cache-2.1.1 vs test/model/topic.rb in second_level_cache-2.1.2
- old
+ new
@@ -1,10 +1,10 @@
# -*- encoding : utf-8 -*-
ActiveRecord::Base.connection.create_table(:topics, :force => true) do |t|
t.string :title
t.text :body
- t.timestamps
+ t.timestamps null: false
end
class Topic < ActiveRecord::Base
acts_as_cached