|
|
|
@ -4,7 +4,7 @@ CREATE TABLE /*_*/isekai_user_daily_sign_log (
|
|
|
|
|
`month` INT UNSIGNED NOT NULL,
|
|
|
|
|
`sign_log` LONGTEXT NOT NULL
|
|
|
|
|
) /*$wgDBTableOptions*/;
|
|
|
|
|
ALTER TABLE /*_*/isekai_user_daily_sign_log ADD PRIMARY KEY (`user_id`);
|
|
|
|
|
ALTER TABLE /*_*/isekai_user_daily_sign_log ADD INDEX(`user_id`, `year`, `month`);
|
|
|
|
|
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`);
|