Open emmiegit opened 6 years ago
Add CheckConstraint()s to ensure that whenever emoji_id is non-zero emoji_unicode = '' and whenever emoji_unicode has value that emoji_id = 0.
CheckConstraint()
emoji_id
emoji_unicode = ''
emoji_unicode
emoji_id = 0
Pending transfer to https://github.com/strinking/statbot. Right now the feature seems bugged.
Add
CheckConstraint()
s to ensure that wheneveremoji_id
is non-zeroemoji_unicode = ''
and wheneveremoji_unicode
has value thatemoji_id = 0
.