ALTER TABLE school_year ADD COLUMN use_new_activities_calculus_scy ENUM('YES','NO') NOT NULL DEFAULT 'NO' AFTER higher_limit_resit;

ALTER TABLE subject_period_activity_type ADD COLUMN is_obligatory_spa ENUM('YES','NO') NOT NULL DEFAULT 'NO' AFTER status_spa;

ALTER TABLE opt_subject_period_activity_type ADD COLUMN is_obligatory_osa ENUM('YES','NO') NOT NULL DEFAULT 'NO' AFTER status_osa;

ALTER TABLE subject_course_period ADD COLUMN optional_activities_number_scp SMALLINT(3) NULL AFTER weight_scp;

ALTER TABLE optional_subject_period ADD COLUMN optional_activities_number_osp SMALLINT(3) NULL AFTER status_osp;

ALTER TABLE student_criteria_grade CHANGE COLUMN activity_grade_part_scg activity_grade_part_scg DECIMAL(10,6) NULL DEFAULT NULL ;