我想出来了。我所做的就是创建一个视图,映射列,如下所示:
CREATE VIEW wp_users (ID, user_login, user_pass, user_nicename, user_email, user_url, user_registered, user_activation_key, user_status, display_name)
AS SELECT u.user_id, u.username, u.password, u.first_name, u.email, \'\', u.date_created, \'\', 0, u.display_name
FROM Users u;