Sha256: 27225457cc6a4a450ac9cc39eb7d53373bcced5315ab3b471b0f96915d83921e
Contents?: true
Size: 615 Bytes
Versions: 44
Compression:
Stored size: 615 Bytes
Contents
class AddNumberOfDayToNotifyOverdueToUserGroup < ActiveRecord::Migration[4.2] def self.up add_column :user_groups, :number_of_day_to_notify_overdue, :integer, default: 7, null: false add_column :user_groups, :number_of_day_to_notify_due_date, :integer, default: 3, 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
44 entries across 44 versions & 3 rubygems