Open daleighan opened 5 years ago
ALTER TABLE user_parking
ADD COLUMN charger_level INT(11) DEFAULT 0 after notes,
ADD COLUMN waive_owned BOOL DEFAULT true after charger_level,
ADD COLUMN charger_brand TEXT DEFAULT NULL after waivecar_owned,
ADD COLUMN last_working DATETIME DEFAULT NULL after charger_brand,
ADD COLUMN broken_at DATETIME DEFAULT NULL after last_working;
ALTER TABLE parking_reservations
ADD booking_id INT after expired;
One thing that will need to be done in web component of this: make sure that users aren't adding numerous spaces when they don't mean to.
I have added in a few more slack notifications and a lot more logging. There may be more to add, so I am not going to mark as implemented until I've tested things and added more if I need to.
Additionally, if a space has a charger, I will need to add a way to mark the most recent time that the charger worked when cars are removed from spaces.
There are going to be some updates to the API part of WaivePark so that chargers can be placed at users' houses. Additionally, logging of a number of different WaivePark events will be added along with new Slack notifications.