| ... | ... |
@@ -237,7 +237,7 @@ CREATE TABLE `fanfiction_comments` ( |
| 237 | 237 |
CREATE TABLE `fanfiction_favorites` ( |
| 238 | 238 |
`uid` int(11) NOT NULL default '0', |
| 239 | 239 |
`item` int(11) NOT NULL default '0', |
| 240 |
- `type` char(2) NOT NULL default '', |
|
| 240 |
+ `type` char(2) NOT NULL default '' COLLATE utf8mb4_unicode_ci, |
|
| 241 | 241 |
`comments` text, |
| 242 | 242 |
UNIQUE KEY `byitem` (`item`,`type`,`uid`), |
| 243 | 243 |
UNIQUE KEY `byuid` (`uid`,`type`,`item`) |
| ... | ... |
@@ -655,7 +655,7 @@ CREATE TABLE IF NOT EXISTS `" . $tableprefix . "fanfiction_authorprefs` ( |
| 655 | 655 |
$favorites = dbquery("CREATE TABLE IF NOT EXISTS `" . $tableprefix . "fanfiction_favorites` (
|
| 656 | 656 |
`uid` int(11) NOT NULL default '0', |
| 657 | 657 |
`item` int(11) NOT NULL default '0', |
| 658 |
- `type` char(2) NOT NULL default '', |
|
| 658 |
+ `type` char(2) NOT NULL default '' COLLATE utf8mb4_unicode_ci, |
|
| 659 | 659 |
`comments` text NOT NULL, |
| 660 | 660 |
UNIQUE KEY `byitem` (`item`,`type`,`uid`), |
| 661 | 661 |
UNIQUE KEY `byuid` (`uid`,`type`,`item`) |