---
# System prepended metadata

title: Script Hora de Mudar | Info B

---

# Script Hora de Mudar | Info B

* Maria Clara Campos Profeta
* Yasmim Vital de Souza
* Matheus da Silva Correia Dos Santos
* Isabelle de Souza Luquetti
* Caue Freitas Barreto
[toc]

## tb_HDM_cadastro
```jason

    create table tb_HDM_cadastro (
    
    id_HDM_cadastro	        int primary key auto_increment,
    nm_HDM_nome			varchar(100),
    nm_HDM_sobrenome	        varchar(300),
    dt_HDM_data_nascimento      date,
    nr_HDM_celular		decimal,
    nm_HDM_email		varchar(300),
    nm_HDM_senha		varchar(50),
    bt_HDM_entrar		boolean
);
  ```
  
  ## tb_HDM_usuario
  ```jason
  
  id_HDM_usuario         int primary key auto_increment,
  nm_HDM_nome			int,
  nm_HDM_sobrenome	    int,
  nm_HDM_email		    int,
  nm_HDM_senha		    int,
  foreign key (nm_HDM_nome) references tb_hdm_cadastro(nm_hdm_usuario),
  foreign key (nm_HDM_email) references tb_hdm_cadastro(nm_hdm_email),
  foreign key (nm_HDM_senha) references tb_hdm_cadastro(nm_hdm_senha)
);
  );
  ```
  
  
## tb_HDM_chat_denuncias
```jason
create table tb_HDM_chat_denuncias (

    id_HDM_chat_denuncias       int primary key auto_increment,
    ds_HDM_texto	        varchar(500),
    bt_HDM_enviar		boolean,
    ds_HDM_localizacao_atual	varchar(200)
);
```

## tb_HDM_login
```jason

create table tb_HDM_login (
    id_HDM_login		int primary key auto_increment,
    nm_HDM_nome			varchar(500),
    nr_senha			varchar(50),
    bt_HDM_entrar		boolean
);
```
## tb_HDM_mapa
```jason
create table tb_HDM_mapa (
        id_HDM_mapa		int primary key auto_increment,
        nm_HDM_endereco		varchar(500),
        nr_HDM_cep			decimal
);
```

## tb_HDM_esqueci_senha
```jason
create table tb_HDM_esqueci_senha (
    id_HDM_esqueci_senha		int primary key auto_increment,
    nr_HDM_senha				boolean,
    nm_HDM_nova_senha			varchar(50)
);
```

## tb_HDM_denuncia
```jason
create table tb_HDM_denuncia (
    id_HDM_denuncia			int primary key auto_increment,
    bt_HDM_caracteristicas		boolean,
    ds_HDM_caracteristicas		varchar(255),
    bt_HDM_chat_denucnias		boolean,
    nm_HDM_chat_denuncias		varchar(200),
    bt_HDM_localizacao			boolean,
    dt_HDM_localizacao			date
);
```
## tb_HDM_chat
```jason
create table tb_HDM_chat (
    id_HDM_chat			int primary key auto_increment,
    id_HDM_usuario              int,
    ds_HDM_mensagem		varchar(255),
    nm_HDM_usuario		varchar(200),
    dt_HDM_data			datetime
    foreign key (id_HDM_usuario) references infob_hdm_usuario(id_hdm_usuario)
);
```

## tb_HDM_login_adm
```jason

create table tb_HDM_login_adm (
    id_HDM_login_adm		int primary key auto_increment,
    nm_HDM_nome_adm			varchar(500),
    nr_senha_adm			varchar(50),
    bt_HDM_entrar_adm		boolean
);
```

## tb_HDM_admin
```jason
create table tb_HDM_chat (
    id_HDM_chat			int primary key auto_increment,
    ds_HDM_mensagem    	        varchar(255),
    nm_HDM_usuario		varchar(200),
    dt_HDM_data			datetime
);
```

 ## tb_HDM_esqueci_senha_adm
```jason
create table tb_HDM_esqueci_senha_adm (
    id_HDM_esqueci_senha_adm	    int primary key auto_increment,
    nr_HDM_senha_adm		    boolean,
    nm_HDM_nova_senha_adm	    varchar(50)
);
```