2022-04-19 21:01:10 +00:00
|
|
|
-- Drop foreign keys from echo_push_subscription - T306473
|
2022-08-08 17:46:16 +00:00
|
|
|
ALTER TABLE /*_*/echo_push_subscription DROP FOREIGN KEY /*_*/echo_push_subscription_ibfk_1;
|
|
|
|
ALTER TABLE /*_*/echo_push_subscription DROP FOREIGN KEY /*_*/echo_push_subscription_ibfk_2;
|
2022-04-19 21:01:10 +00:00
|
|
|
|
|
|
|
-- Rename index to match table prefix
|
2022-08-08 17:46:16 +00:00
|
|
|
DROP INDEX /*i*/echo_push_subscription_user_id ON /*_*/echo_push_subscription;
|
|
|
|
CREATE INDEX /*i*/eps_user ON /*_*/echo_push_subscription (eps_user);
|
2022-04-19 21:01:10 +00:00
|
|
|
|
2022-08-08 17:46:16 +00:00
|
|
|
DROP INDEX /*i*/echo_push_subscription_token ON /*_*/echo_push_subscription;
|
|
|
|
CREATE INDEX /*i*/eps_token ON /*_*/echo_push_subscription (eps_token(10));
|