pastes.sh/db/migrations/20220427_username_to_lower.sql

2 lines
67 B
SQL

UPDATE app_users SET name = LOWER(name) WHERE name != LOWER(name);