Sha256: 7f691aead1ab91b7c6f5414d2faa2797dbc0d22c6e9583fcda587161500d75be

Contents?: true

Size: 350 Bytes

Versions: 66

Compression:

Stored size: 350 Bytes

Contents

class AddConfirmTokenToUsers < CamaManager.migration_class
  def change
    add_column CamaleonCms::User.table_name, :confirm_email_token, :string, default: nil
    add_column CamaleonCms::User.table_name, :confirm_email_sent_at, :datetime, default: nil
    add_column CamaleonCms::User.table_name, :is_valid_email, :boolean, default: true
  end
end

Version data entries

66 entries across 66 versions & 2 rubygems

Version Path
camaleon_cms-2.4.3.8 db/migrate/20151212095328_add_confirm_token_to_users.rb
camaleon_cms-2.4.3.7 db/migrate/20151212095328_add_confirm_token_to_users.rb
camaleon_cms-2.4.3.6 db/migrate/20151212095328_add_confirm_token_to_users.rb
camaleon_cms-2.4.3.5 db/migrate/20151212095328_add_confirm_token_to_users.rb
camaleon_cms-2.4.3.4 db/migrate/20151212095328_add_confirm_token_to_users.rb
camaleon_cms-2.4.3.3 db/migrate/20151212095328_add_confirm_token_to_users.rb