Sha256: 3e85b2803d7faab609702307946de41b9538b6b0923339e9438420a37084a760
Contents?: true
Size: 358 Bytes
Versions: 3
Compression:
Stored size: 358 Bytes
Contents
class ChangeUsernameToIdentifier < ActiveRecord::Migration def self.up rename_column :service_tickets, :username, :identifier rename_column :ticket_granting_tickets, :username, :identifier end def self.down rename_column :service_tickets, :identifier, :username rename_column :ticket_granting_tickets, :identifier, :username end end
Version data entries
3 entries across 3 versions & 2 rubygems