12345678910 |
- class LoginEmailLength650 < ActiveRecord::Migration
- def up
- # return if it's a new setup
- return if !Setting.find_by(name: 'system_init_done')
- change_column(:users, :login, :string, limit: 255)
- change_column(:users, :email, :string, limit: 255)
- end
- end
|