From 04f351bdfe50718f35b9880229469fb35c916f1b Mon Sep 17 00:00:00 2001 From: Breno-S <114250412+Breno-S@users.noreply.github.com> Date: Mon, 27 Nov 2023 23:23:56 -0300 Subject: [PATCH] Update fisico_doorsense.sql --- database/dump_doorsense.sql | 2 +- database/fisico_doorsense.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/database/dump_doorsense.sql b/database/dump_doorsense.sql index 0f21999..eb0df22 100644 --- a/database/dump_doorsense.sql +++ b/database/dump_doorsense.sql @@ -49,7 +49,7 @@ INSERT INTO `admin` (`ID_ADMIN`, `EMAIL_ADMIN`, `SENHA_ADMIN`) VALUES CREATE TABLE `arduino` ( `ID_ARDUINO` int(11) NOT NULL, `UNIQUE_ID` varchar(100) NOT NULL, - `STATUS_ARDUINO` enum('Ativo','Inativo') NOT NULL DEFAULT 'Inativo', + `STATUS_ARDUINO` enum('Ativo','Inativo', 'Pendente') NOT NULL DEFAULT 'Pendente', `LAST_UPDATE` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; diff --git a/database/fisico_doorsense.sql b/database/fisico_doorsense.sql index bd0685d..333d0d1 100644 --- a/database/fisico_doorsense.sql +++ b/database/fisico_doorsense.sql @@ -14,7 +14,7 @@ CREATE TABLE ADMIN ( CREATE TABLE ARDUINO ( ID_ARDUINO INT(11) NOT NULL AUTO_INCREMENT, UNIQUE_ID VARCHAR(100) NOT NULL UNIQUE, - STATUS_ARDUINO ENUM('Ativo', 'Inativo') DEFAULT 'Inativo' NOT NULL, + STATUS_ARDUINO ENUM('Ativo', 'Inativo', 'Pendente') DEFAULT 'Pendente' NOT NULL, LAST_UPDATE TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (ID_ARDUINO) );