mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
7 lines
159 B
Ruby
7 lines
159 B
Ruby
# frozen_string_literal: true
|
|
|
|
class DowncaseUserEmails < ActiveRecord::Migration[6.1]
|
|
def up
|
|
execute('UPDATE users SET email = LOWER(email)')
|
|
end
|
|
end
|