Sha256: 0b95334bd2db945e296e77bd9df3dae2f79245c95a97596088d6cf89e54cdf27
Contents?: true
Size: 373 Bytes
Versions: 1
Compression:
Stored size: 373 Bytes
Contents
class AddValidPeriodForNewUserToUserGroup < ActiveRecord::Migration[5.0] 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_seed-0.3.0.beta.4 | spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb |