gitlab-org--gitlab-foss/db/migrate/20111021101550_change_social_fields_in_users.rb
2011-10-22 14:08:03 +03:00

10 lines
328 B
Ruby

class ChangeSocialFieldsInUsers < ActiveRecord::Migration
def up
change_column(:users, :skype, :string, {:null => false, :default => ''})
change_column(:users, :linkedin, :string, {:null => false, :default => ''})
change_column(:users, :twitter, :string, {:null => false, :default => ''})
end
def down
end
end