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-8.3.1 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-8.2.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-8.1.3 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-8.1.2 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-8.1.1 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-8.1.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-8.0.0 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-7.12.2 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-7.12.1 db/migrate/20201007143455_add_terms_for_user.rb
mumuki-domain-7.12.0 db/migrate/20201007143455_add_terms_for_user.rb