Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Wiki Wiki
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Sem Barreiras
  • WikiWiki
  • Wiki
  • Banco de Dados

Banco de Dados · Changes

Page history
Update Banco de Dados authored Jun 23, 2024 by Leonardo Forner's avatar Leonardo Forner
Hide whitespace changes
Inline Side-by-side
Banco-de-Dados.md
View page @ 0c8f33a5
...@@ -52,13 +52,14 @@ A modelo lógico é usado para definir a estrutura dos elementos de dados e defi ...@@ -52,13 +52,14 @@ A modelo lógico é usado para definir a estrutura dos elementos de dados e defi
- `email` (text unique, not null) - `email` (text unique, not null)
- `password` (text, not null) - `password` (text, not null)
- `name` (text, not null) - `name` (text, not null)
- `cellphone` (text, not null) - `phone` (text, not null)
- `birthdate` (text, not null) - `birthdate` (text, not null)
- `occupation` (text, not null) - `occupation` (text, not null)
- `image` (--) - `image` (--)
- `active` (boolean, not null, default 'true') - `active` (boolean, not null, default 'true')
- `is_admin` (boolean, not null, default 'false') - `is_admin` (boolean, not null, default 'false')
- `created_at` (timestamp, not null) - `created_at` (timestamp, not null)
- `description` (text)
##### Table Disability ##### Table Disability
- `disability_id` (uuid, primary key) - `disability_id` (uuid, primary key)
...@@ -88,11 +89,15 @@ A modelo lógico é usado para definir a estrutura dos elementos de dados e defi ...@@ -88,11 +89,15 @@ A modelo lógico é usado para definir a estrutura dos elementos de dados e defi
- `ad_city` (text, not null) - `ad_city` (text, not null)
- `ad_state` (text, not null) - `ad_state` (text, not null)
- `ad_cep` (text, not null) - `ad_cep` (text, not null)
- `longitude`(numeric, not null)
- `latitude` (numeric, not null)
- `additionalDetails` (text, not null)
- `image` (--) - `image` (--)
- `verified_owner` (--) - `verified_owner` (--)
- `status` (enum, not null) - `status` (enum, not null)
- `active` (boolean, not null, default 'true') - `active` (boolean, not null, default 'true')
- `created_at` (timestamp, not null) - `created_at` (timestamp, not null)
- `phone` (text, not null)
##### Table EstablishmentImage ##### Table EstablishmentImage
- `image_id` (uuid, primary key) - `image_id` (uuid, primary key)
...@@ -109,5 +114,6 @@ A modelo lógico é usado para definir a estrutura dos elementos de dados e defi ...@@ -109,5 +114,6 @@ A modelo lógico é usado para definir a estrutura dos elementos de dados e defi
- `user_id` (uuid, foreign key) - `user_id` (uuid, foreign key)
- `establishment_id` (uuid, foreign key) - `establishment_id` (uuid, foreign key)
- `content` (text) - `content` (text)
- `like_deslike` (char, default '0') - `rating` (char)
- `reported` (boolean, not null, default = false)
- `created_at` (timestamp, not null) - `created_at` (timestamp, not null)
Clone repository

SemBarreiras-Logo__1_

Sem Barreiras

Home

Escopo

Processo

Design/Mockups

Configuração

Arquitetura

Gerência

Banco de Dados

Qualidade

Frontend

Backend