Advertisement
badlogic

migration script for dpr 2017 31 05

May 31st, 2017
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 1.09 KB | None | 0 0
  1. CREATE TABLE `college_subject_grades` (
  2.   `csg_id` int NOT NULL AUTO_INCREMENT PRIMARY KEY,
  3.   `stud_applicant_id` int(10) NOT NULL,
  4.   `sy_id` int(10) NOT NULL,
  5.   `yl_id` int(10) NOT NULL,
  6.   `csm_id` int(10) NOT NULL,
  7.   `caq_open` int(10) NOT NULL,
  8.   `dept_id` int(10) NOT NULL,
  9.   `cc_id` int(10) NOT NULL,
  10.   `ccc_id` int(10) NOT NULL,
  11.   `csh_id` int(10) NOT NULL,
  12.   `css_id` int(10) NOT NULL,
  13.   `pi_id` int(10) NOT NULL,
  14.   `cbas_id` int(10) NOT NULL,
  15.   `added_when` timestamp NOT NULL,
  16.   `midterm` float(10) NOT NULL,
  17.   `midterm_dec` float(10) NOT NULL,
  18.   `prelim` float(10) NOT NULL,
  19.   `additional_point` float(10) NOT NULL,
  20.   `prelim_dec` float(10) NOT NULL,
  21.   `final` float(10) NOT NULL,
  22.   `final_dec` float(10) NOT NULL,
  23.   `isprelim_grade_final` int(10) NOT NULL,
  24.   `csg_remarks` varchar(255) NOT NULL,
  25.   `ismidterm_grade_final` int(10) NOT NULL,
  26.   `cs_id` int(10) NOT NULL,
  27.   `additional_point_dec` float(10) NOT NULL,
  28.   `isfinal_grade_final` int(10) NOT NULL,
  29.   `equivalent_grade` float(10) NOT NULL,
  30.   `csg_status` int(10) NOT NULL
  31. ) ENGINE='MyISAM' COLLATE 'utf8_general_ci';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement