feat: update Servizio component to handle interruzioneDays and acceptedInterr logic refactor: simplify servizio_actions by removing unused InterruzioneServizio and EditParametri components feat: enhance FormEditServizioAdmin to include interruzioneDays and acceptedInterr fields fix: adjust email service to delete obsolete emails and handle invalid email types gracefully chore: update stripe controller to utilize interruzioneDays for lock expiration logic fix: ensure correct handling of servizio expiration and interruzione logic in service controller
7 lines
No EOL
294 B
SQL
7 lines
No EOL
294 B
SQL
ALTER TABLE IF EXISTS public.servizio
|
|
ADD COLUMN IF NOT EXISTS "interruzioneDays" integer NOT NULL DEFAULT 14;
|
|
|
|
ALTER TABLE IF EXISTS public.servizio
|
|
ADD COLUMN IF NOT EXISTS "acceptedInterr" boolean NOT NULL DEFAULT FALSE;
|
|
|
|
ALTER TABLE IF EXISTS public.servizio DROP COLUMN IF EXISTS "isSent"; |