20170119000001_login_email_length_650.rb 355 B

123456789101112
  1. # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
  2. class LoginEmailLength650 < ActiveRecord::Migration[4.2]
  3. def up
  4. # return if it's a new setup
  5. return if !Setting.exists?(name: 'system_init_done')
  6. change_column(:users, :login, :string, limit: 255)
  7. change_column(:users, :email, :string, limit: 255)
  8. end
  9. end