Sha256: e2fa747722ccd117565bf290d379d673357349c392b5635e31b8bd5e7397bc55
Contents?: true
Size: 628 Bytes
Versions: 505
Compression:
Stored size: 628 Bytes
Contents
class AddNumberOfDayToNotifyOverdueToUserGroup < ActiveRecord::Migration def self.up add_column :user_groups, :number_of_day_to_notify_overdue, :integer, :default => 1, :null => false add_column :user_groups, :number_of_day_to_notify_due_date, :integer, :default => 7, :null => false add_column :user_groups, :number_of_time_to_notify_overdue, :integer, :default => 3, :null => false end def self.down remove_column :user_groups, :number_of_time_to_notify_overdue remove_column :user_groups, :number_of_day_to_notify_due_date remove_column :user_groups, :number_of_day_to_notify_overdue end end
Version data entries
505 entries across 498 versions & 14 rubygems