WaiveCar / Waivecar

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

Api: Make bookings index query only show bookings belonging to an organization #1621

Closed daleighan closed 4 years ago

daleighan commented 4 years ago

I am going to do this by adding an organizationId column to bookings that is added when the bookings are created if the car being booked is a part of an organization.

daleighan commented 4 years ago
alter table bookings add column organization_id varchar(255) after car_id;