earmuff-jam / climate

Climate is designed to aide you with your item management.
https://climate-theta.vercel.app/
0 stars 0 forks source link

[Database] User model for prisma #7

Closed earmuff-jam closed 1 year ago

earmuff-jam commented 1 year ago

We should get a good hold of user model.

Currently, the schema should look like

User table

id : text,
firstname: text,
lastname: text,
emailAddress: text,
phone: number,
street: alphanumeric ( should be ),
city: text,
county: text,
zip: number,
country: text

Config table

id: text,
user_id: text,
...

In the nature to keep things manageable we can create another table for config that references the table user with the user:id