diff --git a/tools/migrations/26-05-06--update_email_in_unique_code.sql b/tools/migrations/26-05-06--update_email_in_unique_code.sql new file mode 100644 index 00000000..a6d68218 --- /dev/null +++ b/tools/migrations/26-05-06--update_email_in_unique_code.sql @@ -0,0 +1,4 @@ +-- Before this migration the email in 'unique_code' was case sensitive +-- This migration updates the collation for the email to utf8mb4_unicode_ci +ALTER TABLE unique_code MODIFY email VARCHAR(255) +CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; \ No newline at end of file