Skip to content

Instantly share code, notes, and snippets.

@abadongutierrez
Created February 5, 2022 01:21
Show Gist options
  • Save abadongutierrez/9a2ffbc82020778819691cc0c1e57491 to your computer and use it in GitHub Desktop.
Save abadongutierrez/9a2ffbc82020778819691cc0c1e57491 to your computer and use it in GitHub Desktop.
+-----------------+--------+-----------+
| Column | Type | Modifiers |
|-----------------+--------+-----------|
| employee_id | bigint | not null |
| corporate_email | text | not null |
| first_name | text | not null |
| last_name | text | not null |
+-----------------+--------+-----------+
Indexes:
"employee_pkey" PRIMARY KEY, btree (employee_id)
"employee_corporate_email_unique" UNIQUE CONSTRAINT, btree (corporate_email)
Referenced by:
TABLE "contact_info" CONSTRAINT "contact_info_employee_fk" FOREIGN KEY (employee_id) REFERENCES employee(employee_id) ON DELETE CASCADE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment