Class: Pasaporte::Models::ShardOpenidTables

Inherits:
V
  • Object
show all
Defined in:
lib/pasaporte/models.rb

Class Method Summary collapse

Class Method Details

.downObject



126
127
128
129
# File 'lib/pasaporte/models.rb', line 126

def self.down
  remove_column :pasaporte_nonces, :pasaporte_domain
  remove_column :pasaporte_associations, :pasaporte_domain
end

.upObject



121
122
123
124
# File 'lib/pasaporte/models.rb', line 121

def self.up
  add_column :pasaporte_associations, :pasaporte_domain, :string, :null => false, :default => 'localhost'
  add_column :pasaporte_nonces, :pasaporte_domain, :string, :null => false, :default => 'localhost'
end