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.23.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.22.1 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.22.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.21.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.20.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.19.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.18.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.17.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.16.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.15.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.14.1 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.14.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.13.1 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.13.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.12.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.11.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.10.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.9.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.8.1 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-9.8.0 db/migrate/20201007143455_add_terms_for_user.rb