Sha256: 2da6e8a0d20326a08f35974623e737abf3a4d7565f8ac03de03a8ed0b911b50e

Contents?: true

Size: 424 Bytes

Versions: 7

Compression:

Stored size: 424 Bytes

Contents

class AddConfirmTokenToUsers < ActiveRecord::Migration
  def change
    add_column "#{PluginRoutes.static_system_info["db_prefix"]}users", :confirm_email_token, :string, default: nil
    add_column "#{PluginRoutes.static_system_info["db_prefix"]}users", :confirm_email_sent_at, :datetime, default: nil
    add_column "#{PluginRoutes.static_system_info["db_prefix"]}users", :is_valid_email, :boolean, default: true
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
camaleon_cms-2.1.2.1 db/migrate/20151212095328_add_confirm_token_to_users.rb
camaleon_cms-2.2.1 db/migrate/20151212095328_add_confirm_token_to_users.rb
camaleon_cms-2.2.0 db/migrate/20151212095328_add_confirm_token_to_users.rb
camaleon_cms-2.1.2.0 db/migrate/20151212095328_add_confirm_token_to_users.rb
camaleon_cms-2.1.1.4 db/migrate/20151212095328_add_confirm_token_to_users.rb
camaleon_cms-2.1.1 db/migrate/20151212095328_add_confirm_token_to_users.rb
camaleon_cms-2.1.0 db/migrate/20151212095328_add_confirm_token_to_users.rb