-
Notifications
You must be signed in to change notification settings - Fork 1
Database Schema
Vineet Khadloya edited this page Apr 19, 2022
·
7 revisions
We are using app
schema in a Postgres database to keep our objects.
Name: companies
Key | Column Name | Type | Constraint Name | References (if a FK)? |
---|---|---|---|---|
PK | id | bigint sequence | companies_pkey | |
name | text | |||
domain | text |
Name: years_of_experiences
Key | Column Name | Type | Constraint Name | References (if a FK)? |
---|---|---|---|---|
PK | id | bigint sequence | years_of_experiences_pkey | |
description | text |
Name: users
Key | Column Name | Type | Constraint Name | References (if a FK)? |
---|---|---|---|---|
PK | id | bigint sequence | users_pkey | |
first_name | text | |||
last_name | text | |||
location | text | |||
company_id | bigint | |||
company_name | text | |||
position | text | |||
school | text | |||
FK | years_of_experience_id | bigint | fk_app_users_years_of_experience | app.years_of_experiences (id) |
UQ | text | uq_users_email | ||
password | text | |||
verified | boolean |
Name: posts
Key | Column Name | Type | Constraint Name | References (if a FK)? |
---|---|---|---|---|
PK | id. | bigint sequence | posts_pkey | |
FK | user_id | bigint | fk_app_users_posts | app.users (id) |
FK | company_id | bigint | fk_app_posts_company | app.companies (id) |
position | text | |||
message | text | |||
resume | text | |||
job link | text | |||
created_at | timestamp with time zone |
For any queries or support contact the team
If you have noticed an issue, please report by creating a new issue.