Sha256: e8413e9a9b2a98f6c8b370ba3e8599fc65942db17e77012bada58f26098d91de

Contents?: true

Size: 567 Bytes

Versions: 50

Compression:

Stored size: 567 Bytes

Contents

class AddTermsForUser < ActiveRecord::Migration[5.1]
  def change
    add_column :users, :headmaster_terms_accepted_at, :datetime
    add_column :users, :janitor_terms_accepted_at, :datetime
    add_column :users, :moderator_terms_accepted_at, :datetime
    add_column :users, :student_terms_accepted_at, :datetime
    add_column :users, :teacher_terms_accepted_at, :datetime

    add_column :users, :privacy_terms_accepted_at, :datetime
    add_column :users, :legal_terms_accepted_at, :datetime

    add_column :users, :forum_terms_accepted_at, :datetime
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
mumuki-domain-9.7.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.6.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.5.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.4.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.3.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.2.1 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.2.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.1.2 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.1.1 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.1.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.0.6 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.0.5 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.0.4 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.0.3 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.0.2 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.0.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-8.6.1 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-8.6.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-8.5.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-8.4.0 db/migrate/20201007143455_add_terms_for_user.rb