Files
rezervovator/migrations/10_customer_cancel.sql
T

5 lines
320 B
SQL

-- Customers can cancel their bookings through a link in the e-mail
-- How many hours before the start of a booking the customer may still cancel it, 0 = until the start
ALTER TABLE company ADD cancel_hours INTEGER NOT NULL DEFAULT 0;
ALTER TABLE reservation_sum ADD canceled_by_customer BOOLEAN NOT NULL DEFAULT false;