Skip to content

Commit

Permalink
refactor(SQL/legacy): Add primary key to vehicles table
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenshiin13 committed Nov 2, 2024
1 parent 87d55a2 commit 93e9fca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion [SQL]/legacy.sql
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,12 @@ CREATE TABLE `user_licenses` (
--

CREATE TABLE `vehicles` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(60) NOT NULL,
`model` varchar(60) NOT NULL,
`price` int(11) NOT NULL,
`category` varchar(60) DEFAULT NULL
`category` varchar(60) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB;

--
Expand Down

0 comments on commit 93e9fca

Please sign in to comment.