2019-06-04.sql 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. -- Add/modify columns
  2. alter table STD_REG_INFO add is_new_stu number(1);
  3. -- Add comments to the columns
  4. comment on column STD_REG_INFO.is_new_stu
  5. is '只针对新旧专业衔接,0:老考生,1:新考生';
  6. -- Add/modify columns
  7. alter table PL_COURSE add course_type NUMBER(2);
  8. -- Add comments to the columns
  9. comment on column PL_COURSE.course_type
  10. is '课程类型:0:实践课,1:沟通课,默认为空';
  11. insert into frame_dict (DICT_NAME, DICT_VALUE, DICT_TEXT, DICT_ORDER)
  12. values ('CourseType', '0', '实践课', '0');
  13. insert into frame_dict (DICT_NAME, DICT_VALUE, DICT_TEXT, DICT_ORDER)
  14. values ('CourseType', '1', '沟通课', '1');
  15. alter table KJ_COLLEGE_BATCH_INFO modify batch_name VARCHAR2(60);
  16. -- Add/modify columns
  17. alter table PL_MAJOR_APPLY_DIR modify major_code VARCHAR2(8);
  18. alter table pl_country_exam_plan add start_time VARCHAR2(8);
  19. alter table pl_country_exam_plan add end_time VARCHAR2(8);
  20. -- Add comments to the columns
  21. comment on column pl_country_exam_plan.start_time
  22. is '考试开始时间';
  23. comment on column pl_country_exam_plan.end_time
  24. is '考试结束时间';
  25. alter table PL_PROVINCE_EXAM_PLAN add start_time VARCHAR2(8);
  26. alter table PL_PROVINCE_EXAM_PLAN add end_time VARCHAR2(8);
  27. -- Add comments to the columns
  28. comment on column PL_PROVINCE_EXAM_PLAN.start_time
  29. is '考试开始时间';
  30. comment on column PL_PROVINCE_EXAM_PLAN.end_time
  31. is '考试结束时间';
  32. alter table pl_merge_publish_plan add start_time VARCHAR2(8);
  33. alter table pl_merge_publish_plan add end_time VARCHAR2(8);
  34. -- Add comments to the columns
  35. comment on column pl_merge_publish_plan.start_time
  36. is '考试开始时间';
  37. comment on column pl_merge_publish_plan.end_time
  38. is '考试结束时间';