feat: update database schema and data with new fields for availability and payment options

This commit is contained in:
Marco Pedone 2025-08-29 10:28:15 +02:00
parent 7812e97131
commit 94fd389afa
2 changed files with 8 additions and 6 deletions

View file

@ -153,7 +153,10 @@ CREATE TABLE public.annunci (
creato_il timestamp without time zone, creato_il timestamp without time zone,
modificato_il timestamp without time zone, modificato_il timestamp without time zone,
consegna integer, consegna integer,
og_url text og_url text,
disponibile_da date,
permanenza integer[],
persone text[]
); );

View file

@ -53,10 +53,9 @@ COPY public.etichette (id_etichetta, title, color_hex) FROM stdin;
COPY public.flags (id, value) FROM stdin; COPY public.flags (id, value) FROM stdin;
ANNUNCIO_INTERACTIONS_DISABLED false ANNUNCIO_INTERACTIONS_DISABLED false
EMAIL_VERIFICATION true
ONLY_OAUTH false ONLY_OAUTH false
EMAIL_OFF true
SMS_OFF true SMS_OFF true
EMAIL_OFF false
\. \.
@ -71,6 +70,7 @@ REDPACK 2500 \N t RedPack RedPack RedPack RedPack 0 f f f f f
ADEPACK 5000 \N t AdePack AdePack AdePack AdePack 0 f f f f f ADEPACK 5000 \N t AdePack AdePack AdePack AdePack 0 f f f f f
ASSISTENZA 5000 \N t Assistenza Assistance Assistenza Assistance 0 f f f f f ASSISTENZA 5000 \N t Assistenza Assistance Assistenza Assistance 0 f f f f f
RIMBORSO 0 \N t Rimborso Refund Rimborso Refund 0 f f f f f RIMBORSO 0 \N t Rimborso Refund Rimborso Refund 0 f f f f f
ACCONTO_BD 3500 CONDIZIONI_CERCHI t Acconto Cerco Transitorio Down Payment for Short Term Acconto per servizio Cerco Breve, valido per la visita di 10 immobili in 60 giorni Down payment for Short Term service, valid for visiting 10 properties in 60 days 0 t f f f t
ACCONTO_CA 3500 CONDIZIONI_CERCHI t Acconto Cerco Stabile Down Payment for Stable Acconto per servizio Cerco Stabile, valido per la visita di 10 immobili in 60 giorni Down payment for Stable service, valid for visiting 10 properties in 60 days 0 t f f t f ACCONTO_CA 3500 CONDIZIONI_CERCHI t Acconto Cerco Stabile Down Payment for Stable Acconto per servizio Cerco Stabile, valido per la visita di 10 immobili in 60 giorni Down payment for Stable service, valid for visiting 10 properties in 60 days 0 t f f t f
CONS_COMM 15000 CONDIZIONI_CERCHI t Consulenza Commerciale Commercial Consultancy Consulenza Commerciale Commercial Consultancy 0 f f t t t CONS_COMM 15000 CONDIZIONI_CERCHI t Consulenza Commerciale Commercial Consultancy Consulenza Commerciale Commercial Consultancy 0 f f t t t
CONS_3+2 12500 CONDIZIONI_CERCHI t Consulenza Agevolati Consultancy 3+2 Consulenza Agevolati Consultancy 3+2 0 f f t t f CONS_3+2 12500 CONDIZIONI_CERCHI t Consulenza Agevolati Consultancy 3+2 Consulenza Agevolati Consultancy 3+2 0 f f t t f
@ -80,7 +80,6 @@ CONS_30GG 4000 CONDIZIONI_CERCHI t Consulenza 30gg 30-day Consultancy Consulenza
SALDOBD_12MESI 42500 CONDIZIONI_CERCHI t Saldo Cerco Transitorio (12 mesi) Short Term 12 months Saldo Cerco Breve 12 mesi Balance for Short Term 12 months 0 f t f f t SALDOBD_12MESI 42500 CONDIZIONI_CERCHI t Saldo Cerco Transitorio (12 mesi) Short Term 12 months Saldo Cerco Breve 12 mesi Balance for Short Term 12 months 0 f t f f t
SALDOBD_1MESE 4500 CONDIZIONI_CERCHI t Saldo Cerco Transitorio (1 mese) Short Term 1 month Saldo Cerco Breve 1 mese Balance for Short Term 1 month 0 f t f f t SALDOBD_1MESE 4500 CONDIZIONI_CERCHI t Saldo Cerco Transitorio (1 mese) Short Term 1 month Saldo Cerco Breve 1 mese Balance for Short Term 1 month 0 f t f f t
SALDOBD_3MESI 21500 CONDIZIONI_CERCHI t Saldo Cerco Transitorio (3 mesi) Short Term 3 months Saldo Cerco Breve 3 mesi Balance for Short Term 3 months 0 f t f f t SALDOBD_3MESI 21500 CONDIZIONI_CERCHI t Saldo Cerco Transitorio (3 mesi) Short Term 3 months Saldo Cerco Breve 3 mesi Balance for Short Term 3 months 0 f t f f t
ACCONTO_BD 3500 CONDIZIONI_CERCHI t Acconto Cerco Transitorio Down Payment for Short Term Acconto per servizio Cerco Breve, valido per la visita di 10 immobili in 60 giorni Down payment for Short Term service, valid for visiting 10 properties in 60 days 0 t f f f t
SALDOBD_6MESI 32500 CONDIZIONI_CERCHI t Saldo Cerco Transitorio (6 mesi) Short Term 6 months Saldo Cerco Breve 6 mesi comprensivo di contratto e registrazione Balance for Short Term 6 months 0 f t f f t SALDOBD_6MESI 32500 CONDIZIONI_CERCHI t Saldo Cerco Transitorio (6 mesi) Short Term 6 months Saldo Cerco Breve 6 mesi comprensivo di contratto e registrazione Balance for Short Term 6 months 0 f t f f t
SALDOBD_9MESI 37500 CONDIZIONI_CERCHI t Saldo Cerco Transitorio (9 mesi) Short Term 9 months Saldo Cerco Breve 9 mesi Balance for Short Term 9 months 0 f t f f t SALDOBD_9MESI 37500 CONDIZIONI_CERCHI t Saldo Cerco Transitorio (9 mesi) Short Term 9 months Saldo Cerco Breve 9 mesi Balance for Short Term 9 months 0 f t f f t
SALDOCA500 29900 CONDIZIONI_CERCHI t Saldo Cerco Stabile (500) Stable 500 Saldo per la ricerca di un immobile stabile con canone massimo di 500 euro mensili Balance for Stable 500 0 f t f t f SALDOCA500 29900 CONDIZIONI_CERCHI t Saldo Cerco Stabile (500) Stable 500 Saldo per la ricerca di un immobile stabile con canone massimo di 500 euro mensili Balance for Stable 500 0 f t f t f
@ -93,8 +92,8 @@ SALDOCA500+ 38700 CONDIZIONI_CERCHI t Saldo Cerco Stabile (500+) Stable 500+ Sal
-- --
COPY public.temp_tokens (token, elapse) FROM stdin; COPY public.temp_tokens (token, elapse) FROM stdin;
c0858ed9-1f72-46a0-a186-4f2bced952cb 2025-08-10 17:30:51.063496 c256c17d-3299-47a4-b3ef-640aa9688b38 2025-08-22 13:01:41.20164
7735aa3b-3533-4e52-8fda-65ac6ce15f3d 2025-08-10 17:30:51.062725 4bd62a5f-aa6d-403b-a1bb-c0e11e382adc 2025-08-22 13:01:48.897271
5d069230-9572-4b26-aa06-2964f3ca79a2 2030-02-19 10:25:33.046587 5d069230-9572-4b26-aa06-2964f3ca79a2 2030-02-19 10:25:33.046587
\. \.