There is such a migration
class AddApplicationToNotificationEvent < ActiveRecord::Migration def change add_column :notification_events, :application, :string, :null => true end end But after it in schema.rb there is no :null => true
create_table "notification_events", :force => true do |t| t.integer "subject_id" t.string "subject_type" t.integer "eventable_id" t.string "eventable_type" t.string "service" t.string "kind" t.text "data" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false t.boolean "read", :default => false, :null => false t.string "application" end And in the database there. Why?
:null => false,::null => trueassumed by default - etki