Database updates

This commit is contained in:
ivan-pelly
2026-02-21 08:01:29 -08:00
parent fa0903e7be
commit c9ed34ddbb
49 changed files with 699 additions and 331 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
CREATE TABLE `student` (
`id_student` int NOT NULL,
`id_program` int DEFAULT NULL,
`id_student` char(36) NOT NULL,
`id_program` char(36) DEFAULT NULL,
`identifier` varchar(50) DEFAULT NULL,
`program_year` int DEFAULT NULL,
`enrollment_date` date DEFAULT NULL,
`expected_grad` date DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id_student`),
KEY `id_program` (`id_program`),
KEY `student_ibfk_1` (`id_program`),
CONSTRAINT `student_ibfk_1` FOREIGN KEY (`id_program`) REFERENCES `program` (`id_program`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;