Sha256: f32d82ddeb9edbee4890be2a2af1b927695d27655061392ad9f34e51ec5bfd21
Contents?: true
Size: 367 Bytes
Versions: 10
Compression:
Stored size: 367 Bytes
Contents
class AddValidPeriodForNewUserToUserGroup < ActiveRecord::Migration[5.2] 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
10 entries across 10 versions & 10 rubygems