Skip to content

Commit

Permalink
Merge pull request #86 from NIAEFEUP/refactor/changes-to-sigarra-page
Browse files Browse the repository at this point in the history
Remove auto increment id from slot
  • Loading branch information
tomaspalma authored Jul 24, 2024
2 parents f23726e + d92b254 commit 4502ed9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mysql/sql/00_schema_mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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;

Expand Down

0 comments on commit 4502ed9

Please sign in to comment.