Sha256: c672cfa14f27559f48791f886c975d414a32c9cc64106f95bb6c27e5b1fef586
Contents?: true
Size: 259 Bytes
Versions: 1
Compression:
Stored size: 259 Bytes
Contents
class RenamePerfilAluno < ActiveRecord::Migration def up Perfil.where(:nome => 'Aluno').first.update_attributes(:nome => 'Aluno/Residente') end def down Perfil.where(:nome => 'Aluno/Residente').first.update_attributes(:nome => 'Aluno') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-sabia-1.0.1 | db/migrate/20131001190150_rename_perfil_aluno.rb |