Добавил новые поля в создание занятия и получение общего списка

This commit is contained in:
ProstoDenya01
2026-03-04 22:49:58 +03:00
parent 47039ee878
commit 169f7435b1
6 changed files with 180 additions and 3 deletions

View File

@@ -186,6 +186,9 @@ CREATE TABLE IF NOT EXISTS lessons (
teacher_id BIGINT NOT NULL REFERENCES users(id),
group_id BIGINT NOT NULL REFERENCES student_groups(id),
subject_id BIGINT NOT NULL REFERENCES subjects(id),
lesson_format VARCHAR(255) NOT NULL,
type_lesson VARCHAR(255) NOT NULL,
classroom_id BIGINT NOT NULL REFERENCES classrooms(id),
day VARCHAR(255) NOT NULL,
week VARCHAR(255) NOT NULL,
time VARCHAR(255) NOT NULL