-
Notifications
You must be signed in to change notification settings - Fork 1
Database Schema
Dylan Welzel edited this page Jan 18, 2022
·
3 revisions
column | data type | details |
---|---|---|
id | integer | not null, primary key |
name | string | not null, unique |
username | string | not null, unique |
string | not null, unique | |
hashed_password | string | not null |
column | data type | details |
---|---|---|
id | integer | not null, primary key |
item_name | string | not null |
location | string | not null |
description | string | not null |
department_id | integer | not null, foreign key |
owner_id | integer | not null, foreign key |
-
department_id
referencesdepartments
table -
owner_id
referencesusers
table
column | data type | details |
---|---|---|
id | integer | not null, primary key |
name | string | not null |
column | data type | details |
---|---|---|
id | integer | not null, primary key |
content | string | not null |
owner_id | integer | not null, foreign key |
ticket_id | integer | not null, foreign key |
-
owner_id
referencesusers
table -
ticket_id
referencestickets
table