WaiveCar / Waivecar

Waivecar
https://waivecar.com
0 stars 0 forks source link

Api: Fix the parking details table #1267

Open kristopolous opened 6 years ago

kristopolous commented 6 years ago

We are going to add two new columns to simplify life here and fix the code.

alter table parking_details add column booking_id int(11) after street_overnight_rest; alter table parking_details add column path varchar(255) after booking_id;

kristopolous commented 6 years ago
alter table parking_details modify column booking_detail_id int(11);
alter table parking_details drop foreign key parking_details_ibfk_1;
alter table parking_details drop index booking_detail_id;