mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 08:47:42 +00:00
11 lines
463 B
SQL
11 lines
463 B
SQL
CREATE TABLE `program` (
|
|
`id_program` int NOT NULL,
|
|
`id_school_district` int DEFAULT NULL,
|
|
`name` varchar(255) DEFAULT NULL,
|
|
`description` text,
|
|
`created_at` timestamp NULL DEFAULT NULL,
|
|
PRIMARY KEY (`id_program`),
|
|
KEY `id_school_district` (`id_school_district`),
|
|
CONSTRAINT `program_ibfk_1` FOREIGN KEY (`id_school_district`) REFERENCES `school_district` (`id_school_district`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|