mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-20 17:58:24 +03:00
fix UNIQUE key
This commit is contained in:
parent
ca1995b3ac
commit
da1389a62c
|
@ -155,4 +155,7 @@ ALTER TABLE `prefix_favourite` ADD INDEX `id_type` ( `target_id` , `target_t
|
|||
|
||||
ALTER TABLE `prefix_friend` DROP INDEX `user_from`;
|
||||
|
||||
ALTER TABLE `prefix_notify_task` ADD INDEX ( `date_created` );
|
||||
ALTER TABLE `prefix_notify_task` ADD INDEX ( `date_created` );
|
||||
|
||||
ALTER TABLE `prefix_comment_online` DROP INDEX `id_type` ,
|
||||
ADD UNIQUE `id_type` ( `target_id` , `target_type` );
|
|
@ -981,4 +981,7 @@ ALTER TABLE `prefix_favourite` ADD INDEX `id_type` ( `target_id` , `target_t
|
|||
|
||||
ALTER TABLE `prefix_friend` DROP INDEX `user_from`;
|
||||
|
||||
ALTER TABLE `prefix_notify_task` ADD INDEX ( `date_created` );
|
||||
ALTER TABLE `prefix_notify_task` ADD INDEX ( `date_created` );
|
||||
|
||||
ALTER TABLE `prefix_comment_online` DROP INDEX `id_type` ,
|
||||
ADD UNIQUE `id_type` ( `target_id` , `target_type` );
|
|
@ -164,4 +164,7 @@ ALTER TABLE `prefix_favourite` ADD INDEX `id_type` ( `target_id` , `target_t
|
|||
|
||||
ALTER TABLE `prefix_friend` DROP INDEX `user_from`;
|
||||
|
||||
ALTER TABLE `prefix_notify_task` ADD INDEX ( `date_created` );
|
||||
ALTER TABLE `prefix_notify_task` ADD INDEX ( `date_created` );
|
||||
|
||||
ALTER TABLE `prefix_comment_online` DROP INDEX `id_type` ,
|
||||
ADD UNIQUE `id_type` ( `target_id` , `target_type` );
|
Loading…
Reference in a new issue