diff --git a/backend/src/main/resources/db/migration/V2__departmentCreate.sql b/backend/src/main/resources/db/migration/V2__departmentCreate.sql index c46c3cb..753cebc 100644 --- a/backend/src/main/resources/db/migration/V2__departmentCreate.sql +++ b/backend/src/main/resources/db/migration/V2__departmentCreate.sql @@ -97,7 +97,7 @@ CREATE TABLE IF NOT EXISTS schedule_data ( subjects_id BIGINT NOT NULL REFERENCES subjects(id), lesson_type_id BIGINT NOT NULL REFERENCES lesson_types(id), number_of_hours INT NOT NULL, - is_division BOOLEAN DEFAULT NOT NULL DEFAULT FALSE, + is_division BOOLEAN NOT NULL DEFAULT FALSE, teacher_id BIGINT NOT NULL REFERENCES users(id), semester_type VARCHAR(255) NOT NULL, period VARCHAR(255) NOT NULL