Skip to content

Commit

Permalink
Merge branch 'Dev' into test-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Breno-S committed Nov 29, 2023
2 parents 05b0ceb + 04f351b commit ef04730
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion database/dump_doorsense.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion database/fisico_doorsense.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
Expand Down

0 comments on commit ef04730

Please sign in to comment.