db/migrate/0_install.rb~ in commontator-2.0.0 vs db/migrate/0_install.rb~ in commontator-2.0.1
- old
+ new
@@ -25,10 +25,10 @@
create_table "commontator_subscriptions" do |t|
t.string "subscriber_type", :null => false
t.integer "subscriber_id", :null => false
t.integer "thread_id", :null => false
- t.integer "unread", :default => 0
+ t.integer "unread", :null => false, :default => 0
t.timestamps
end
add_index :commontator_subscriptions, [:subscriber_type, :subscriber_id, :thread_id], :unique => true, :name => "index_c_s_on_s_type_and_s_id_and_t_id"