Обновил таблицы и создал новые для данных расписания.

This commit is contained in:
ProstoDenya01
2026-03-18 15:44:05 +03:00
parent c10198515c
commit 220b99594f

View File

@@ -92,7 +92,7 @@ CREATE TABLE IF NOT EXISTS schedule_data (
subjects_id BIGINT NOT NULL REFERENCES subjects(id), subjects_id BIGINT NOT NULL REFERENCES subjects(id),
lesson_type_id BIGINT NOT NULL REFERENCES lesson_types(id), lesson_type_id BIGINT NOT NULL REFERENCES lesson_types(id),
number_of_hours INT NOT NULL, number_of_hours INT NOT NULL,
is_division BOOLEAN DEFAULT NOT NULL FALSE, is_division BOOLEAN DEFAULT NOT NULL DEFAULT FALSE,
teacher_id BIGINT NOT NULL REFERENCES users(id), teacher_id BIGINT NOT NULL REFERENCES users(id),
semester_type VARCHAR(255) NOT NULL, semester_type VARCHAR(255) NOT NULL,
period VARCHAR(255) NOT NULL period VARCHAR(255) NOT NULL