SET FOREIGN_KEY_CHECKS=0;
INSERT INTO activities (id, name, description, course_id, date, draft, created_at, updated_at, criteria_achieved, criteria_weights, outcomes_achieved, outcomes_attempted, transforming_actions, assessment_comments, criteria_achieved_percentage, criteria_participant_count, criteria_achiever_count) VALUES (1, 'act1', 'abc', null, '2020-01-01', 0, '2020-01-01 00:00:00', '2020-01-01 00:00:00', null, null, null, null, null, null, null, null, null);
INSERT INTO activities (id, name, description, course_id, date, draft, created_at, updated_at, criteria_achieved, criteria_weights, outcomes_achieved, outcomes_attempted, transforming_actions, assessment_comments, criteria_achieved_percentage, criteria_participant_count, criteria_achiever_count) VALUES (3, 'act2', 'from course1', 1, '2020-01-01', 0, '2020-01-01 00:00:00', '2020-01-01 00:00:00', null, null, null, null, null, null, null, null, null);INSERT INTO courses (id, name, code, section, program_id, user_id, semester_id, created_at, updated_at, criteria_achieved, outcomes_achieved, outcomes_attempted, number) VALUES (1, 'course1', 'CURS0001', '001', 1, 1, 1, '2020-01-01 00:00:00', '2020-01-01 00:00:00', null, null, null, '0000');INSERT INTO criteria (id, name, subcriteria, description12, description34, description56, description78, outcome_id, created_at, updated_at, user_id, program_id, deleted_at, copyright, notes) VALUES (1, 'crit1', null, 'a', 'b', 'c', 'd', 1, '2020-01-01 00:00:00', '2020-01-01 00:00:00', 1, 1, null, null, null);INSERT INTO migrations (migration, batch) VALUES ('2014_10_05_052350_create_schools_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2014_10_05_055013_create_programs_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2014_10_06_050335_create_users_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2014_10_12_100000_create_password_resets_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2014_11_10_035949_create_rubrics_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2014_11_29_210957_create_templates_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2014_11_29_211309_create_courses_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2014_11_29_211310_create_activities_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2014_11_29_212240_create_outcomes_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2014_11_29_212341_create_criteria_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2014_11_29_214028_create_semesters_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2014_11_30_134022_create_students_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2014_12_07_214036_create_course_student_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_01_09_171350_create_assessments_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_01_12_204310_add_columns_to_activities_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_01_12_222859_add_columns_to_assessments_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_01_13_010052_add_index_to_assessments_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_01_13_142849_add_column_to_criteria_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_01_14_140724_add_columns_to_courses_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_01_21_124809_add_column_to_courses_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_01_22_195515_add_column_to_templates_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_01_23_175455_remove_total_from_assessments_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_01_23_175923_rename_average_in_assessments_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_01_28_121848_add_index_to_course_student_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_01_28_133036_add_criteria_achieved_count_to_activities_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_02_05_133245_add_transforming_actions_to_activities_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_02_05_143641_add_assessment_comments_to_activities_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_02_06_145359_create_password_reminders_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_02_19_143311_add_is_graduate_to_programs_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_02_25_170516_add_deleted_at_to_outcomes_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_02_25_170529_add_deleted_at_to_criteria_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_02_27_201953_add_criteria_achieved_percentage_to_activities_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_03_04_132321_add_copyright_and_notes_to_criteria_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_04_13_183730_add_program_id_to_templates_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_04_28_141931_add_is_visible_to_templates_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_05_04_162918_remove_expected_outcome_from_outcomes_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_05_05_083800_add_decimal_expected_outcome_to_outcomes_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_05_18_095002_add_first_login_to_users_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_05_18_131259_add_columns_to_semesters_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_05_18_134926_add_semester_id_to_courses', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_06_10_092319_add_name_to_semesters_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_06_12_085247_add_visibility_to_semesters_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_06_16_092223_add_has_access_to_users', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_06_18_103255_add_expected_percentage_and_points_to_templates_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_07_10_150430_add_email_to_students_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_07_13_111726_add_code_to_programs_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_07_13_132620_add_ssn_and_employee_number_to_users_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_08_19_130733_add_semester_id_to_course_student_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2015_12_10_145451_add_criteria_weights_to_activities_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_01_12_132034_add_program_id_to_criteria_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_01_27_093808_add_date_to_activities_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_01_27_134306_add_draft_to_activities_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_03_11_085258_add_school_and_concentration_codes_to_students_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_05_09_145427_create_program_user_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_05_10_091847_remove_program_id_from_users_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_05_23_153434_create_objectives_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_05_25_090412_add_active_to_objectives_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_05_26_092328_create_criterion_objective_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_07_15_084546_create_quinquenniums_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_07_15_084751_create_five_year_plans_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_07_15_084851_create_annual_plans_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_07_15_090133_create_fyp_parts_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_07_15_090203_create_fyp_part_outcomes_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_07_15_090217_create_annual_plan_outcomes_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_08_03_120016_remove_methods_from_fyp_part_outcomes_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_08_03_140525_add_unique_index_to_five_year_plans_table', 1);
INSERT INTO migrations (migration, batch) VALUES ('2016_08_11_150848_remove_semester_id_from_annual_plans_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2016_08_11_151247_add_year_start_and_year_end_to_annual_plans_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2017_02_03_150052_add_comments_to_assessments_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2018_02_12_144827_add_subcriteria_to_criteria_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2018_07_26_132933_add_last_login_to_users_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2018_07_26_134316_add_phone_numbers_and_extension_to_users_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2018_08_09_110432_remove_password_from_users_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2018_08_09_110813_remove_password_updated_and_remember_token_from_users_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2018_08_10_083743_add_remember_token_to_users_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2018_08_28_140328_remove_outcome_id_from_objectives_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2018_08_28_141547_drop_criterion_objective_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2018_08_28_142111_create_objective_outcome_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2018_09_13_134104_entrust_setup_tables', 2);
INSERT INTO migrations (migration, batch) VALUES ('2019_08_07_100303_add_participants_achievers_counts_to_activities_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2020_03_06_122426_create_participating_programs_view', 2);
INSERT INTO migrations (migration, batch) VALUES ('2020_04_04_002657_create_new_criteria_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2020_04_04_005817_add_outcome_id_to_objectives_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2020_04_22_090200_alter_activities_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2020_04_22_095649_create_new_criterion_rubric_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2020_04_22_101110_create_new_rubric_activity_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2020_04_22_105537_create_new_activity_course_table', 2);
INSERT INTO migrations (migration, batch) VALUES ('2020_04_22_122910_add_criteria_id_to_assessments_table', 2);INSERT INTO new_criteria (id, name, subcriteria, description12, description34, description56, description78, objective_id, program_id, user_id, copyright, notes, created_at, updated_at, deleted_at) VALUES (2, 'crit1', null, '12', '34', '56', '78', 1, 1, 1, null, null, '2020-01-01 00:00:00', '2020-01-01 00:00:00', null);INSERT INTO new_criterion_rubric (id, criterion_id, rubric_id, created_at, updated_at) VALUES (2, 2, 1, '2020-01-01 00:00:00', '2020-01-01 00:00:00');INSERT INTO new_rubric_activity (id, rubric_id, activity_id, created_at, updated_at) VALUES (1, 1, 1, '2020-01-01 00:00:00', '2020-01-01 00:00:00');
INSERT INTO new_rubric_activity (id, rubric_id, activity_id, created_at, updated_at) VALUES (2, 1, 3, '2020-01-01 00:00:00', '2020-01-01 00:00:00');INSERT INTO objective_outcome (id, objective_id, outcome_id, created_at, updated_at) VALUES (1, 1, 1, '2020-01-01 00:00:00', '2020-01-01 00:00:00');INSERT INTO objectives (id, program_id, text, active, created_at, updated_at, outcome_id) VALUES (1, 1, 'obj1', 1, '2020-01-01 00:00:00', '2020-01-01 00:00:00', 1);INSERT INTO outcomes (id, name, definition, expected_outcome, created_at, updated_at, deleted_at, new_outcome_id, deactivation_date) VALUES (1, 'outcome1', 'outcome1', 66.66, '2020-01-01 00:00:00', '2020-01-01 00:00:00', null, 1, null);
INSERT INTO outcomes (id, name, definition, expected_outcome, created_at, updated_at, deleted_at, new_outcome_id, deactivation_date) VALUES (2, 'outcome2', 'outcome2', 66.66, '2020-01-01 00:00:00', '2020-01-01 00:00:00', null, 2, null);
INSERT INTO outcomes (id, name, definition, expected_outcome, created_at, updated_at, deleted_at, new_outcome_id, deactivation_date) VALUES (3, 'outcome3', 'outcome3', 66.66, '2020-01-01 00:00:00', '2020-01-01 00:00:00', null, 3, null);
INSERT INTO outcomes (id, name, definition, expected_outcome, created_at, updated_at, deleted_at, new_outcome_id, deactivation_date) VALUES (4, 'outcome4', 'outcome4', 66.66, '2020-01-01 00:00:00', '2020-01-01 00:00:00', null, 4, null);
INSERT INTO outcomes (id, name, definition, expected_outcome, created_at, updated_at, deleted_at, new_outcome_id, deactivation_date) VALUES (5, 'outcome5', 'outcome5', 66.66, '2020-01-01 00:00:00', '2020-01-01 00:00:00', null, 5, null);
INSERT INTO outcomes (id, name, definition, expected_outcome, created_at, updated_at, deleted_at, new_outcome_id, deactivation_date) VALUES (6, 'outcome6', 'outcome6', 66.66, '2020-01-01 00:00:00', '2020-01-01 00:00:00', null, 6, null);
INSERT INTO outcomes (id, name, definition, expected_outcome, created_at, updated_at, deleted_at, new_outcome_id, deactivation_date) VALUES (7, 'outcome7', 'outcome7', 66.66, '2020-01-01 00:00:00', '2020-01-01 00:00:00', null, 7, null);
INSERT INTO outcomes (id, name, definition, expected_outcome, created_at, updated_at, deleted_at, new_outcome_id, deactivation_date) VALUES (8, 'outcome8', 'outcome8', 66.66, '2020-01-01 00:00:00', '2020-01-01 00:00:00', null, 8, null);
INSERT INTO outcomes (id, name, definition, expected_outcome, created_at, updated_at, deleted_at, new_outcome_id, deactivation_date) VALUES (9, 'old_outcome1', 'deactivates on 2015-01-01', 66.66, '2020-01-01 00:00:00', '2020-01-01 00:00:00', null, 1, '2015-01-01');INSERT INTO programs (id, name, code, school_id, restrict_rubrics, created_at, updated_at, is_graduate) VALUES (1, 'TEST', 'TEST', 1, 0, '2020-01-01 00:00:00', '2020-01-01 00:00:00', 0);
INSERT INTO programs (id, name, code, school_id, restrict_rubrics, created_at, updated_at, is_graduate) VALUES (2, 'UHS', 'UHS', 2, 0, '2020-01-01 00:00:00', '2020-01-01 00:00:00', 0);INSERT INTO program_user (id, program_id, user_id, created_at, updated_at) VALUES (1, 1, 1, '2020-01-01 00:00:00', '2020-01-01 00:00:00');INSERT INTO rubrics (id, name, contents, expected_percentage, expected_points, user_id, created_at, updated_at) VALUES (1, 'rubric1', 'abcd', 50, 50, 1, '2020-01-01 00:00:00', '2020-01-01 00:00:00');INSERT INTO schools (id, name, created_at, updated_at) VALUES (1, 'school1', '2020-01-01 00:00:00', '2020-01-01 00:00:00');
INSERT INTO schools (id, name, created_at, updated_at) VALUES (2, 'UHS', '2020-01-01 00:00:00', '2020-01-01 00:00:00');INSERT INTO semesters (id, code, name, start, end, is_visible) VALUES (1, 'B92', 'SEM 2 2019-2020', '2019-01-01 00:00:00', '2020-06-01 00:00:00', 1);
INSERT INTO semesters (id, code, name, start, end, is_visible) VALUES (2, 'B01', 'SEM 1 2010-2011', '2010-01-01 00:00:00', '2010-01-01 00:00:00', 1);INSERT INTO users (id, ssn, number, first_name, surnames, email, alternate_email, office_phone, office_extension, cell_phone, role, school_id, has_access, created_at, updated_at, last_login, remember_token) VALUES (1, '000000000', '0000000000', 'test', 'test', 'test@upr.edu', null, null, null, null, 1, 1, 1, '2020-01-01 00:00:00', '2020-05-15 11:03:31', '2020-05-15 15:03:31', null);
SET FOREIGN_KEY_CHECKS=1;
