Sha256: 6efbf4c5c46764cbf881ceb719a75c86e98097a197c2142cd6bdb495a140943b

Contents?: true

Size: 269 Bytes

Versions: 14

Compression:

Stored size: 269 Bytes

Contents

class AddEmailValidationToUsers < ActiveRecord::Migration
  def change
    add_column :users, :email_validated, :boolean, default: false
    add_column :users, :email_validation_token, :string
    add_column :users, :email_validation_token_sent_at, :datetime
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
tkh_authentication-0.9.17.2 lib/generators/tkh_authentication/create_or_update_migrations/templates/add_email_validation_to_users.rb
tkh_authentication-0.9.17.1 lib/generators/tkh_authentication/create_or_update_migrations/templates/add_email_validation_to_users.rb
tkh_authentication-0.9.17 lib/generators/tkh_authentication/create_or_update_migrations/templates/add_email_validation_to_users.rb
tkh_authentication-0.9.16 lib/generators/tkh_authentication/create_or_update_migrations/templates/add_email_validation_to_users.rb
tkh_authentication-0.9.15 lib/generators/tkh_authentication/create_or_update_migrations/templates/add_email_validation_to_users.rb
tkh_authentication-0.9.14 lib/generators/tkh_authentication/create_or_update_migrations/templates/add_email_validation_to_users.rb
tkh_authentication-0.9.13 lib/generators/tkh_authentication/create_or_update_migrations/templates/add_email_validation_to_users.rb
tkh_authentication-0.9.12 lib/generators/tkh_authentication/create_or_update_migrations/templates/add_email_validation_to_users.rb
tkh_authentication-0.9.11 lib/generators/tkh_authentication/create_or_update_migrations/templates/add_email_validation_to_users.rb
tkh_authentication-0.9.10 lib/generators/tkh_authentication/create_or_update_migrations/templates/add_email_validation_to_users.rb
tkh_authentication-0.9.9 lib/generators/tkh_authentication/create_or_update_migrations/templates/add_email_validation_to_users.rb
tkh_authentication-0.9.8 lib/generators/tkh_authentication/create_or_update_migrations/templates/add_email_validation_to_users.rb
tkh_authentication-0.9.7 lib/generators/tkh_authentication/create_or_update_migrations/templates/add_email_validation_to_users.rb
tkh_authentication-0.9.6 lib/generators/tkh_authentication/create_or_update_migrations/templates/add_email_validation_to_users.rb