mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
10 lines
605 B
SQL
10 lines
605 B
SQL
-- 0064_revert_local_to_web (rollback)
|
|
-- Re-apply the 'local' convention by converting 'web' back to 'local'.
|
|
|
|
UPDATE channel_identities SET channel_type = 'local' WHERE channel_type = 'web';
|
|
UPDATE user_channel_bindings SET channel_type = 'local' WHERE channel_type = 'web';
|
|
UPDATE bot_channel_configs SET channel_type = 'local' WHERE channel_type = 'web';
|
|
UPDATE channel_identity_bind_codes SET channel_type = 'local' WHERE channel_type = 'web';
|
|
UPDATE bot_channel_routes SET channel_type = 'local' WHERE channel_type = 'web';
|
|
UPDATE bot_sessions SET channel_type = 'local' WHERE channel_type = 'web';
|