Keine Beschreibung http://j1x-huginn.herokuapp.com

20140906030139_set_events_count_default.rb 309B

    class SetEventsCountDefault < ActiveRecord::Migration def up change_column_default(:agents, :events_count, 0) change_column_null(:agents, :events_count, false, 0) end def down change_column_null(:agents, :events_count, true) change_column_default(:agents, :events_count, nil) end end