mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 14:17:00 +08:00
8 lines
159 B
Ruby
8 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
|