Safety side of storing emoji into database

As with all user input, you will want to sanitize before storing the input, sanitize on display, and sanitize any user input used in queries. If you’re limiting it strictly to emojis, I would also recommend validating and restricting input to only emojis.