Sha256: 9a2fbbb22e3c11627c9b92809b168fc8d0c31cec0a9917836dc55d98f208e9f0
Contents?: true
Size: 351 Bytes
Versions: 6
Compression:
Stored size: 351 Bytes
Contents
class DeviseSafeguardAddToUsers < ActiveRecord::Migration def self.up change_table :users do |t| t.datetime :last_sign_in_with_safeguard t.boolean :safeguard_enabled, :default => false end end def self.down change_table :users do |t| t.remove :last_sign_in_with_safeguard, :safeguard_enabled end end end
Version data entries
6 entries across 6 versions & 1 rubygems