Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W 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
    • 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
  • Amparo
  • wiki
  • Wiki
  • banco_dados

banco_dados · Changes

Page history
Update banco_dados authored Sep 30, 2023 by Luis Felipe Copetti Rossi's avatar Luis Felipe Copetti Rossi
Show whitespace changes
Inline Side-by-side
banco_dados.md
View page @ 835f4da0
......@@ -96,19 +96,19 @@ TBD
- `name` (text not null)
- `health_plan_image` (text)
# Table DoctorHealthPlan
##### Table DoctorHealthPlan
- `id` (uuid, primary key)
- `id_doctor` (uuid)
- `id_health_plan` (uuid)
- Foreign key (`id_doctor`) references Doctor (`id`)
- Foreign key (`id_health_plan`) references HealthPlan (`id`)
# Table Patient
##### Table Patient
- `id` (uuid, unique, primary key)
- `cpf` (text)
- Foreign key (`id`) references User (`id`)
# Table Information
##### Table Information
- `id` (uuid, primary key)
- `title` (text)
- `link` (text)
......@@ -117,14 +117,14 @@ TBD
- `id_doctor` (uuid, not null)
- Foreign key (`id_doctor`) references Doctor (`id`)
# Table DoctorPatient
##### Table DoctorPatient
- `id` (uuid, primary key)
- `id_doctor` (uuid)
- `id_patient` (uuid)
- Foreign key (`id_doctor`) references Doctor (`id`)
- Foreign key (`id_patient`) references Patient (`id`)
# Table Appointment
##### Table Appointment
- `id` (uuid, primary key)
- `id_doctor` (uuid)
- `id_patient` (uuid)
......@@ -132,12 +132,12 @@ TBD
- Foreign key (`id_doctor`) references Doctor (`id`)
- Foreign key (`id_patient`) references Patient (`id`)
# Table Medicine
##### Table Medicine
- `id` (uuid, primary key)
- `name` (text not null)
- `leaflet` (text)
# Table Dosage
##### Table Dosage
- `id` (uuid, primary key)
- `id_patient` (uuid)
- `id_medicine` (uuid)
......@@ -148,7 +148,7 @@ TBD
- Foreign key (`id_patient`) references Patient (`id`)
- Foreign key (`id_medicine`) references Medicine (`id`)
# Table Incompatibility
##### Table Incompatibility
- `id` (uuid, primary key)
- `id_medicine` (uuid)
- `id_medicine_inc` (uuid)
......@@ -157,7 +157,7 @@ TBD
- Foreign key (`id_medicine`) references Medicine (`id`)
- Foreign key (`id_medicine_inc`) references Medicine (`id`)
# Table Exam
##### Table Exam
- `id` (uuid, primary key)
- `description` (text)
- `exam_date` (timestamp not null)
......@@ -165,7 +165,7 @@ TBD
- `id_patient` (uuid)
- Foreign key (`id_patient`) references Patient (`id`)
# Table Post
##### Table Post
- `id` (uuid, primary key)
- `content` (text)
- `creation_date` (timestamp not null)
......@@ -175,7 +175,7 @@ TBD
- Foreign key (`id_post`) references Post (`id`)
- Foreign key (`id_patient`) references Patient (`id`)
# Table Vote
##### Table Vote
- `id` (uuid, primary key)
- `is_like` (boolean not null)
- `id_post` (uuid not null)
......@@ -184,7 +184,7 @@ TBD
- Foreign key (`id_post`) references Post (`id`)
#### PostgreSQL
### PostgreSQL
O PostgreSQL, frequentemente chamado de Postgres, é um sistema de gerenciamento de banco de dados relacional de código aberto amplamente respeitado e utilizado em todo o mundo. Ele se destaca por sua flexibilidade, confiabilidade e capacidade de lidar com uma ampla gama de cargas de trabalho de bancos de dados.
......
Clone repository
  • arquitetura
  • banco_dados
  • codigo
  • configuracao
  • design_mockups
  • escopo
  • Home
  • processo
  • qualidade
  • utilizacao