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

Version Path
enju_circulation-0.0.28 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.27 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.26 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.25 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.24 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.23 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.22 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.21 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.20 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.19 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.18 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.17 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.16 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.15 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.14 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.13 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.12 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.11 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.10 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
enju_circulation-0.0.9 db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb