mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +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
|