Sha256: 98fa7f1396ac182bf0caea6cf4b4e88ee0a20c8b363650bf4ea470183d4d3903
Contents?: true
Size: 368 Bytes
Versions: 392
Compression:
Stored size: 368 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 end def self.down remove_column :user_groups, :valid_period_for_new_user remove_column :user_groups, :expired_at end end
Version data entries
392 entries across 384 versions & 23 rubygems