update
This commit is contained in:
47
PostgreSQL/qqnt/qqnt_transfer.sql
Normal file
47
PostgreSQL/qqnt/qqnt_transfer.sql
Normal file
@@ -0,0 +1,47 @@
|
||||
INSERT INTO qqnt.group_msg_table (id, msg_random, msg_seq, chat_type, msg_type, sub_msg_type, send_type, sender_uid,
|
||||
q40026, peer_uid, peer_uin, q40040, send_status, msg_time, q40052, send_member_name,
|
||||
send_nick_name, msg_content, msg_quote, q40105, q40005, midnight_timestamp, elem_id,
|
||||
at_status, msg_status, disband_flag, reply_to, q40851, q40601, q40801, q40605,
|
||||
group_no, qq_no, emoji, emoji_num, emoji_num_2)
|
||||
SELECT "40001",
|
||||
"40002",
|
||||
"40003",
|
||||
"40010",
|
||||
"40011",
|
||||
"40012",
|
||||
"40013",
|
||||
"40020",
|
||||
"40026",
|
||||
"40021",
|
||||
"40027",
|
||||
"40040",
|
||||
"40041",
|
||||
to_timestamp("40050"),
|
||||
"40052",
|
||||
"40090",
|
||||
"40093",
|
||||
"40800",
|
||||
"40900",
|
||||
"40105",
|
||||
"40005",
|
||||
to_timestamp("40058"),
|
||||
"40006",
|
||||
"40100",
|
||||
"40600",
|
||||
"40060",
|
||||
"40850",
|
||||
"40851",
|
||||
"40601",
|
||||
"40801",
|
||||
"40605",
|
||||
"40030",
|
||||
"40033",
|
||||
"40062",
|
||||
"40083",
|
||||
"40084"
|
||||
FROM qqnt.group_msg_tmp;
|
||||
|
||||
DELETE
|
||||
FROM qqnt.group_msg_tmp
|
||||
where true;
|
||||
|
||||
Reference in New Issue
Block a user