From d92b254427e4ee8f84660b9c7280fb00d4ae416c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Palma?= Date: Fri, 19 Jul 2024 16:20:32 +0100 Subject: [PATCH] refactor: some tables now have no autoincrement ids --- mysql/sql/00_schema_mysql.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql/sql/00_schema_mysql.sql b/mysql/sql/00_schema_mysql.sql index f615588..34b8eec 100644 --- a/mysql/sql/00_schema_mysql.sql +++ b/mysql/sql/00_schema_mysql.sql @@ -95,7 +95,7 @@ CREATE TABLE `class` ( -- CREATE TABLE `slot` ( - `id` INTEGER AUTO_INCREMENT PRIMARY KEY, + `id` INTEGER PRIMARY KEY, `lesson_type` varchar(3) NOT NULL, `day` tinyint(3) NOT NULL, `start_time` decimal(3,1) NOT NULL, @@ -116,7 +116,7 @@ CREATE TABLE `slot` ( CREATE TABLE `professor` ( `id` INTEGER PRIMARY KEY, - `professor_acronym` varchar(16), + `professor_acronym` varchar(32), `professor_name` varchar(100) ) ENGINE=InnoDB CHARSET = utf8 COLLATE = utf8_general_ci;