user_profile_data.sql 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. -- 插入用户ID=1的扩展信息测试数据
  2. INSERT INTO `user_profile` (
  3. `user_id`, `house`, `car`, `height`, `weight`, `star`, `animal`,
  4. `real_name`, `id_card`, `education_level`, `hobby`, `school_name`,
  5. `company`, `salary_range`, `job_title`, `marital_status`,
  6. `is_real_name_verified`, `is_education_verified`, `is_work_verified`, `is_marital_verified`,
  7. `privacy_salary`, `privacy_phone`, `authenticity_score`
  8. )
  9. VALUES (
  10. 1, 1, 1, 175, 65, '白羊座', '龙',
  11. '张三', '110101199001011234', 3, '["旅游", "阅读", "运动"]', '北京大学',
  12. '某科技公司', 3, '软件工程师', 0,
  13. 1, 1, 1, 1,
  14. 0, 1, 85
  15. )
  16. ON DUPLICATE KEY UPDATE
  17. `house` = VALUES(`house`),
  18. `car` = VALUES(`car`),
  19. `height` = VALUES(`height`),
  20. `weight` = VALUES(`weight`),
  21. `star` = VALUES(`star`),
  22. `animal` = VALUES(`animal`),
  23. `real_name` = VALUES(`real_name`),
  24. `id_card` = VALUES(`id_card`),
  25. `education_level` = VALUES(`education_level`),
  26. `hobby` = VALUES(`hobby`),
  27. `school_name` = VALUES(`school_name`),
  28. `company` = VALUES(`company`),
  29. `salary_range` = VALUES(`salary_range`),
  30. `job_title` = VALUES(`job_title`),
  31. `marital_status` = VALUES(`marital_status`),
  32. `is_real_name_verified` = VALUES(`is_real_name_verified`),
  33. `is_education_verified` = VALUES(`is_education_verified`),
  34. `is_work_verified` = VALUES(`is_work_verified`),
  35. `is_marital_verified` = VALUES(`is_marital_verified`),
  36. `privacy_salary` = VALUES(`privacy_salary`),
  37. `privacy_phone` = VALUES(`privacy_phone`),
  38. `authenticity_score` = VALUES(`authenticity_score`);