diff --git a/database/db.sql b/database/db.sql index 4be9b36..e083278 100644 --- a/database/db.sql +++ b/database/db.sql @@ -65,9 +65,9 @@ CREATE TABLE IF NOT EXISTS calendario ( hora_inicio_tarde TIME, hora_fin_tarde TIME, horario VARCHAR(15) NOT NULL, - sabado_habil BOOLEAN, - domingo_habil BOOLEAN, - duracion_cita_por_defecto INT, + sabado_habil BOOLEAN DEFAULT FALSE, + domingo_habil BOOLEAN DEFAULT FALSE, + duracion_cita_por_defecto INT DEFAULT 60, medico INT, PRIMARY KEY (id, medico), FOREIGN KEY (medico)