-- Truncate tables
TRUNCATE TABLE calendar_event_types, calendar;

-- Add default calendar and event types
insert into calendar (created_by, updated_by, name, colour) 
select id, id, 'Cottage', 'blue' from users where email = 'admin@jean-marie.ca';

insert into calendar (created_by, updated_by, name, colour) 
select id, id, 'Family tree', 'brown' from users where email = 'admin@jean-marie.ca';

insert into calendar_event_types (created_by, updated_by, name, state, colour) 
select id, id, 'Reservation', 'Requested', 'purple' from users where email = 'admin@jean-marie.ca';

insert into calendar_event_types (created_by, updated_by, name, state, colour) 
select id, id, 'Reservation', 'Approved', 'green' from users where email = 'admin@jean-marie.ca';

insert into calendar_event_types (created_by, updated_by, name, state, colour) 
select id, id, 'Reservation', 'Confirmed', 'blue' from users where email = 'admin@jean-marie.ca';

insert into calendar_event_types (created_by, updated_by, name, state, colour) 
select id, id, 'Reservation', 'Tentative', 'light-purple' from users where email = 'admin@jean-marie.ca';

insert into calendar_event_types (created_by, updated_by, name, state, colour) 
select id, id, 'Reservation', 'Rejected', 'red' from users where email = 'admin@jean-marie.ca';

insert into calendar_event_types (created_by, updated_by, name, state, colour) 
select id, id, 'Reservation', 'Cancelled', 'light-red' from users where email = 'admin@jean-marie.ca';

insert into calendar_event_types (created_by, updated_by, name, state, colour) 
select id, id, 'Life event', 'Birthday', 'green' from users where email = 'admin@jean-marie.ca';

insert into calendar_event_types (created_by, updated_by, name, state, colour) 
select id, id, 'Life event', 'Anniversary', 'orange' from users where email = 'admin@jean-marie.ca';

insert into calendar_event_types (created_by, updated_by, name, state, colour) 
select id, id, 'Life event', 'Other', 'light-orange' from users where email = 'admin@jean-marie.ca';