Sha256: cf3de49b15004679f696f40689cd025d8d7c96bbef75469fc50824be793b385f

Contents?: true

Size: 343 Bytes

Versions: 10

Compression:

Stored size: 343 Bytes

Contents

# frozen_string_literal: true

class AddVerificationColumns < MIGRATION_CLASS
  def self.up
    add_column :users, :paranoid_verification_code, :string
    add_column :users, :paranoid_verified_at, :datetime
  end

  def self.down
    remove_column :users, :paranoid_verification_code
    remove_column :users, :paranoid_verified_at
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
devise-security-0.18.0 test/dummy/db/migrate/20150402165590_add_verification_columns.rb
devise-security-0.17.0 test/dummy/db/migrate/20150402165590_add_verification_columns.rb
devise-security-0.16.0 test/dummy/db/migrate/20150402165590_add_verification_columns.rb
devise-security-0.15.0 test/dummy/db/migrate/20150402165590_add_verification_columns.rb
devise-security-0.14.3 test/dummy/db/migrate/20150402165590_add_verification_columns.rb
devise-security-0.14.2 test/dummy/db/migrate/20150402165590_add_verification_columns.rb
devise-security-0.14.1 test/dummy/db/migrate/20150402165590_add_verification_columns.rb
devise-security-0.14.0 test/dummy/db/migrate/20150402165590_add_verification_columns.rb
devise-security-0.14.0.rc1 test/dummy/db/migrate/20150402165590_add_verification_columns.rb
devise-security-0.13.0 test/dummy/db/migrate/20150402165590_add_verification_columns.rb