CREATE TABLE /*_*/isekai_user_daily_sign_log ( `user_id` INT UNSIGNED NOT NULL, `year` INT UNSIGNED NOT NULL, `month` INT UNSIGNED NOT NULL, `sign_log` LONGTEXT NOT NULL ) /*$wgDBTableOptions*/; ALTER TABLE /*_*/isekai_user_daily_sign_log ADD PRIMARY KEY (`user_id`, `year`, `month`); ALTER TABLE /*_*/isekai_user_daily_sign_log ADD INDEX(`user_id`); ALTER TABLE /*_*/isekai_user_daily_sign_log ADD INDEX(`year`); ALTER TABLE /*_*/isekai_user_daily_sign_log ADD INDEX(`month`);