Sha256: c52754b2c75d823b2ef4a22b2814f671aa891d991134cc519de45a4ca679198a
Contents?: true
Size: 886 Bytes
Versions: 119
Compression:
Stored size: 886 Bytes
Contents
class AddLdapAttrsToUser < ActiveRecord::Migration def self.up add_column :users, :display_name, :string add_column :users, :address, :string add_column :users, :admin_area, :string add_column :users, :department, :string add_column :users, :title, :string add_column :users, :office, :string add_column :users, :chat_id, :string add_column :users, :website, :string add_column :users, :affiliation, :string add_column :users, :telephone, :string end def self.down remove_column :users, :display_name remove_column :users, :address remove_column :users, :admin_area remove_column :users, :department remove_column :users, :title remove_column :users, :office remove_column :users, :chat_id remove_column :users, :website remove_column :users, :affiliation remove_column :users, :telephone end end
Version data entries
119 entries across 112 versions & 5 rubygems