Add “bungalows premium” campsite type to demo

This commit is contained in:
jordi fita mas 2023-10-06 18:53:44 +02:00
parent 9293a341ef
commit 15be48b770
2 changed files with 35 additions and 28 deletions

BIN
demo/bungalows_premium.avif Normal file

Binary file not shown.

View File

@ -27,6 +27,7 @@ alter table media alter column media_id restart with 62;
select add_media(52, 'plots.avif', 'image/avif', decode('m4_esyscmd([[base64 -w0 demo/plots.avif]])', 'base64'));
select add_media(52, 'safari_tents.avif', 'image/avif', decode('m4_esyscmd([[base64 -w0 demo/safari_tents.avif]])', 'base64'));
select add_media(52, 'bungalows.avif', 'image/avif', decode('m4_esyscmd([[base64 -w0 demo/bungalows.avif]])', 'base64'));
select add_media(52, 'bungalows_premium.avif', 'image/avif', decode('m4_esyscmd([[base64 -w0 demo/bungalows_premium.avif]])', 'base64'));
select add_media(52, 'wooden_lodges.avif', 'image/avif', decode('m4_esyscmd([[base64 -w0 demo/wooden_lodges.avif]])', 'base64'));
select add_media(52, 'home_carousel0.jpg', 'image/jpeg', decode('m4_esyscmd([[base64 -w0 demo/home_carousel0.jpg]])', 'base64'));
select add_media(52, 'home_carousel1.jpg', 'image/jpeg', decode('m4_esyscmd([[base64 -w0 demo/home_carousel1.jpg]])', 'base64'));
@ -44,39 +45,39 @@ select add_media(52, 'services_carousel3.avif', 'image/avif', decode('m4_esyscmd
;
insert into home_carousel (media_id, caption)
values (66, 'Volcà de Santa Margarida')
, (67, 'Gorga fosca Sadernes')
, (68, 'Castellfollit de la Roca')
, (69, 'Besalú')
, (70, 'Santa Pau')
, (71, 'Banyoles')
, (72, 'Girona')
, (73, 'Costa Brava')
, (74, 'Barcelona')
values (67, 'Volcà de Santa Margarida')
, (68, 'Gorga fosca Sadernes')
, (69, 'Castellfollit de la Roca')
, (70, 'Besalú')
, (71, 'Santa Pau')
, (72, 'Banyoles')
, (73, 'Girona')
, (74, 'Costa Brava')
, (75, 'Barcelona')
;
insert into home_carousel_i18n (media_id, lang_tag, caption)
values (66, 'en', 'Santa Margarida volcano')
, (66, 'es', 'Volcán de Santa Margarida')
, (67, 'en', 'Sadernes dark gorge')
, (67, 'es', 'Piletón oscuro Sadernes')
values (67, 'en', 'Santa Margarida volcano')
, (67, 'es', 'Volcán de Santa Margarida')
, (68, 'en', 'Sadernes dark gorge')
, (68, 'es', 'Piletón oscuro Sadernes')
;
insert into services_carousel (media_id, caption)
values (75, 'La Garrotxa')
, (76, 'Tenda')
, (77, 'Parceŀles')
, (78, 'Hamaca')
values (76, 'La Garrotxa')
, (77, 'Tenda')
, (78, 'Parceŀles')
, (79, 'Hamaca')
, (63, 'Safari Tents')
;
insert into services_carousel_i18n (media_id, lang_tag, caption)
values (76, 'en', 'Tent')
, (76, 'es', 'Tenda')
, (77, 'en', 'Plots')
, (77, 'es', 'Parcelas')
, (78, 'en', 'Hammock')
, (78, 'es', 'Amaca')
values (77, 'en', 'Tent')
, (77, 'es', 'Tenda')
, (78, 'en', 'Plots')
, (78, 'es', 'Parcelas')
, (79, 'en', 'Hammock')
, (79, 'es', 'Amaca')
, (63, 'en', 'Safari Tents')
, (63, 'es', 'Tiendas Safari')
;
@ -85,7 +86,8 @@ alter table campsite_type alter column campsite_type_id restart with 72;
select add_campsite_type(52, 62, 'Parceŀles', '', 6, true);
select add_campsite_type(52, 63, 'Safari Tents', '', 6, false);
select add_campsite_type(52, 64, 'Bungalous', '', 5, false);
select add_campsite_type(52, 65, 'Cabanes de fusta', '', 5, false);
select add_campsite_type(52, 65, 'Bungalous prèmium', '', 5, false);
select add_campsite_type(52, 66, 'Cabanes de fusta', '', 5, false);
insert into campsite_type_i18n (campsite_type_id, lang_tag, name, description)
values (72, 'en', 'Plots', '')
@ -94,8 +96,10 @@ values (72, 'en', 'Plots', '')
, (73, 'es', 'Tiendas Safari', '')
, (74, 'en', 'Bungalows', '')
, (74, 'es', 'Bungalós', '')
, (75, 'en', 'Wooden Lodges', '')
, (75, 'es', 'Cabañas de madera', '')
, (75, 'en', 'Bungalows premium', '')
, (75, 'es', 'Bungalós prémium', '')
, (76, 'en', 'Wooden Lodges', '')
, (76, 'es', 'Cabañas de madera', '')
;
alter table campsite alter column campsite_id restart with 82;
@ -164,8 +168,8 @@ select add_campsite(72, '80');
select add_campsite(72, '81');
select add_campsite(72, '82');
select add_campsite(72, '83');
select add_campsite(75, '84');
select add_campsite(75, '85');
select add_campsite(76, '84');
select add_campsite(76, '85');
select add_campsite(72, '89');
select add_campsite(72, '90');
select add_campsite(72, '91');
@ -287,6 +291,9 @@ values (72, 92, 20000, 1)
, (75, 92, 20000, 2)
, (75, 93, 16500, 2)
, (75, 94, 12500, 2)
, (76, 92, 20000, 2)
, (76, 93, 16500, 2)
, (76, 94, 12500, 2)
;
alter table campsite_type_option alter column campsite_type_option_id restart with 102;