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

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

No files matched your search

+3
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