mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Update attach_maintenance.php
This commit is contained in:
parent
06f5bdbdaf
commit
7766101228
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ $posts_without_attach = $topics_without_attach = [];
|
||||||
|
|
||||||
DB()->query("
|
DB()->query("
|
||||||
CREATE TEMPORARY TABLE $tmp_attach_tbl (
|
CREATE TEMPORARY TABLE $tmp_attach_tbl (
|
||||||
physical_filename VARCHAR(255) NOT NULL default '',
|
physical_filename VARCHAR(255) NOT NULL default '' COLLATE utf8mb4_unicode_ci,
|
||||||
KEY physical_filename (physical_filename(20))
|
KEY physical_filename (physical_filename(20))
|
||||||
) ENGINE = MyISAM DEFAULT CHARSET = utf8
|
) ENGINE = MyISAM DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci
|
||||||
");
|
");
|
||||||
DB()->add_shutdown_query("DROP TEMPORARY TABLE IF EXISTS $tmp_attach_tbl");
|
DB()->add_shutdown_query("DROP TEMPORARY TABLE IF EXISTS $tmp_attach_tbl");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue