About Emoji Support with MySQL
If you want to support all Unicode characters including emojis in MySQL database, you have to use utf8mb4 encoding instead of utf8.
To create a MySQL database with full Unicode support run SQL query:
1 2 3
But there is a catch. If you use utf8mb4 encoding, the indexed fields can have the maximum length of 191 characters, e.g.:
Programming Architecture Databases Django 4.2 Django 3.2 Django 2.2 MySQL