Sha256: 972836fefb4c79b67e63a55e2bb605f40496212cfa9d9953b6fb379ba08a8575
Contents?: true
Size: 530 Bytes
Versions: 249
Compression:
Stored size: 530 Bytes
Contents
class AddValidPeriodForNewUserToUserGroup < ActiveRecord::Migration def self.up add_column :user_groups, :valid_period_for_new_user, :integer, :default => 0, :null => false add_column :user_groups, :expired_at, :timestamp remove_column :library_groups, :valid_period_for_new_user end def self.down remove_column :user_groups, :valid_period_for_new_user remove_column :user_groups, :expired_at add_column :library_groups, :valid_period_for_new_user, :integer, :default => 0, :null => false end end
Version data entries
249 entries across 249 versions & 8 rubygems