Skip to content

Commit

Permalink
fix(sql):vehicle_sold table
Browse files Browse the repository at this point in the history
temporary fix of the database
requires a rewrite
  • Loading branch information
jbdevic committed Jan 3, 2023
1 parent 660f1d3 commit 5362966
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions [SQL]/legacy.sql
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ INSERT INTO `vehicle_categories` (`name`, `label`) VALUES
--

CREATE TABLE `vehicle_sold` (
`id` INT(11) NOT NULL,
`id` int(11) NOT NULL AUTO_INCREMENT,
`client` varchar(50) NOT NULL,
`model` varchar(50) NOT NULL,
`plate` varchar(50) NOT NULL,
Expand Down Expand Up @@ -848,24 +848,12 @@ ALTER TABLE `user_licenses`
ALTER TABLE `vehicle_categories`
ADD PRIMARY KEY (`name`);

--
-- Indexes for table `vehicle_sold`
--
ALTER TABLE `vehicle_sold`
ADD PRIMARY KEY (`id`);

--
-- Indexes for table `whitelist`
--
ALTER TABLE `whitelist`
ADD PRIMARY KEY (`identifier`);

--
-- Indexes for table `vehicle_sold`
--
ALTER TABLE `vehicle_sold`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `addon_account_data`
--
Expand Down

0 comments on commit 5362966

Please sign in to comment.