Add default calendar values

This commit is contained in:
coolneng 2020-06-21 20:38:32 +02:00
parent e5c6e2d6a2
commit 6f3d570285
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 3 deletions

View File

@ -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)