14 lines
527 B
SQL
14 lines
527 B
SQL
SET FOREIGN_KEY_CHECKS = 0;
|
|
|
|
DELETE FROM mci_channel_event_record;
|
|
DELETE FROM mci_channel_account;
|
|
DELETE FROM mci_tenant;
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|
|
|
|
INSERT INTO mci_tenant (id, tenant_code, tenant_name, status, create_time)
|
|
VALUES (1, 'rescue', '救援', 1, NOW());
|
|
|
|
INSERT INTO mci_channel_account (id, tenant_code, account_type, channel_type, account_id, account_name, login_status, online_status, risk_level, status, create_time)
|
|
VALUES (1, 'rescue', 3, 'wechat_personal', 'wx-bot-01', '测试号', 0, 0, 0, 1, NOW());
|