mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 12:16:06 +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
|