user_attributes をインポートする

Contributed by: ivy on 土曜日, 9月 13 2025 @ 10:49 pm JST

Last modified on 土曜日, 9月 13 2025 @ 10:51 pm JST

user_attributesが無いというエラーであればこれをインポートします。 --
-- テーブルの構造 `gl_user_attributes`
--
CREATE TABLE `gl_user_attributes` (
`uid` mediumint(8) NOT NULL DEFAULT 1,
`commentmode` varchar(10) NOT NULL DEFAULT 'nested',
`commentorder` varchar(4) NOT NULL DEFAULT 'ASC',
`commentlimit` mediumint(8) UNSIGNED NOT NULL DEFAULT 100,
`etids` text NOT NULL,
`noboxes` tinyint(4) NOT NULL DEFAULT 0,
`maxstories` tinyint(4) NOT NULL DEFAULT 0,
`about` text NOT NULL,
`location` varchar(96) NOT NULL DEFAULT '',
`pgpkey` text NOT NULL,
`tokens` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
`lastgranted` int(10) UNSIGNED NOT NULL DEFAULT 0,
`lastlogin` varchar(10) NOT NULL DEFAULT '0',
`dfid` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
`advanced_editor` tinyint(1) UNSIGNED NOT NULL DEFAULT 1,
`tzid` varchar(125) NOT NULL DEFAULT '',
`emailfromadmin` tinyint(1) NOT NULL DEFAULT 1,
`emailfromuser` tinyint(1) NOT NULL DEFAULT 1,
`showonline` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- テーブルのデータのダンプ `gl_user_attributes`
--

INSERT INTO `gl_user_attributes` (`uid`, `commentmode`, `commentorder`, `commentlimit`, `etids`, `noboxes`, `maxstories`, `about`, `location`, `pgpkey`, `tokens`, `lastgranted`, `lastlogin`, `dfid`, `advanced_editor`, `tzid`, `emailfromadmin`, `emailfromuser`, `showonline`) VALUES
(1, 'nested', 'ASC', 100, '', 0, 0, '', '', '', 0, 0, '1755170969', 0, 0, '', 0, 0, 1),
(2, 'nested', 'ASC', 100, '', 0, 0, '', '', '', 0, 0, '1755142068', 0, 1, '', 1, 1, 1);

--
-- ダンプしたテーブルのインデックス
--

--
-- テーブルのインデックス `gl_user_attributes`
--
ALTER TABLE `gl_user_attributes`
ADD PRIMARY KEY (`uid`);
COMMIT;

コメント (0件)

Geeklog Site - user_attributes をインポートする
https://www.geeklog.jp/article.php?story=20250913224939220