Sha256: 5e7eb8c544260ddf1f83412bf458ffdd2cec5028cedb2a53fc1f48d4dbfac3bb
Contents?: true
Size: 545 Bytes
Versions: 6
Compression:
Stored size: 545 Bytes
Contents
class DeviseTwilioVerifyAddTo<%= table_name.camelize %> < ActiveRecord::Migration<%= migration_version %> def self.up change_table :<%= table_name %> do |t| t.string :authy_id t.datetime :last_sign_in_with_twilio_verify t.boolean :twilio_verify_enabled, :default => false t.string :twilio_totp_factor_sid end end def self.down change_table :<%= table_name %> do |t| t.remove :authy_id, :last_sign_in_with_twilio_verify, :twilio_verify_enabled, :twilio_totp_factor_sid end end end
Version data entries
6 entries across 6 versions & 1 rubygems