Sei sulla pagina 1di 19

Table of contents

1 messages Page number: 2


2 migrations Page number: 3
3 oauth_access_tokens Page number: 4
4 oauth_auth_codes Page number: 5
5 oauth_clients Page number: 6
6 oauth_personal_access_clients Page number: 7
7 oauth_refresh_tokens Page number: 8
8 orders Page number: 9
9 order_reviews Page number: 10
10 products Page number: 11
11 rf_categorys Page number: 12
12 rf_roles Page number: 13
13 rf_status Page number: 14
14 rf_subcategorys Page number: 15
15 shopping_carts Page number: 16
16 users Page number: 17
17 user_roles Page number: 18
18 Relational schema Page number: 19

Page number: 1/19 Oct 11, 2019 at 03:38 PM


1 messages

Creation: Oct 11, 2019 at 08:32 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id int(10) UNSIGNED No auto_increment


seller_id int(10) UNSIGNED No -> users.id
ON UPDATE RESTRICT
ON DELETE CASCADE
buyer_id int(10) UNSIGNED No -> users.id
ON UPDATE RESTRICT
ON DELETE CASCADE
message varchar(100 No
)
created_at timestamp Yes NULL
updated_at timestamp Yes NULL

Page number: 2/19 Oct 11, 2019 at 03:38 PM


2 migrations

Creation: Oct 11, 2019 at 08:17 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id int(10) UNSIGNED No auto_increment


migration varchar(255 No
)
batch int(11) No

Page number: 3/19 Oct 11, 2019 at 03:38 PM


3 oauth_access_tokens

Creation: Oct 11, 2019 at 06:14 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id varchar(100 No
)
user_id bigint(20) Yes NULL
client_id int(10) UNSIGNED No
name varchar(255 Yes NULL
)
scopes text Yes NULL
revoked tinyint(1) No
created_at timestamp Yes NULL
updated_at timestamp Yes NULL
expires_at datetime Yes NULL

Page number: 4/19 Oct 11, 2019 at 03:38 PM


4 oauth_auth_codes

Creation: Oct 11, 2019 at 06:14 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id varchar(100 No
)
user_id bigint(20) No
client_id int(10) UNSIGNED No
scopes text Yes NULL
revoked tinyint(1) No
expires_at datetime Yes NULL

Page number: 5/19 Oct 11, 2019 at 03:38 PM


5 oauth_clients

Creation: Oct 11, 2019 at 06:14 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id int(10) UNSIGNED No auto_increment


user_id bigint(20) Yes NULL
name varchar(255 No
)
secret varchar(100 No
)
redirect text No
personal_acces tinyint(1) No
s_client
password_client tinyint(1) No
revoked tinyint(1) No
created_at timestamp Yes NULL
updated_at timestamp Yes NULL

Page number: 6/19 Oct 11, 2019 at 03:38 PM


6 oauth_personal_access_clients

Creation: Oct 11, 2019 at 06:14 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id int(10) UNSIGNED No auto_increment


client_id int(10) UNSIGNED No
created_at timestamp Yes NULL
updated_at timestamp Yes NULL

Page number: 7/19 Oct 11, 2019 at 03:38 PM


7 oauth_refresh_tokens

Creation: Oct 11, 2019 at 06:14 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id varchar(100 No
)
access_token_id varchar(100 No
)
revoked tinyint(1) No
expires_at datetime Yes NULL

Page number: 8/19 Oct 11, 2019 at 03:38 PM


8 orders

Creation: Oct 11, 2019 at 08:17 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id int(10) UNSIGNED No auto_increment


ordername varchar(20) No
product_id int(10) UNSIGNED No -> products.id
ON UPDATE RESTRICT
ON DELETE CASCADE
seller_id int(10) UNSIGNED No -> users.id
ON UPDATE RESTRICT
ON DELETE CASCADE
buyer_id int(10) UNSIGNED No -> users.id
ON UPDATE RESTRICT
ON DELETE CASCADE
quantity int(11) No
dtend datetime No
status_id int(10) UNSIGNED No -> rf_status.id
ON UPDATE RESTRICT
ON DELETE CASCADE
created_at timestamp Yes NULL
updated_at timestamp Yes NULL

Page number: 9/19 Oct 11, 2019 at 03:38 PM


9 order_reviews

Creation: Oct 11, 2019 at 08:29 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id int(10) UNSIGNED No auto_increment


product_id int(10) UNSIGNED No -> products.id
ON UPDATE RESTRICT
ON DELETE CASCADE
buyer_id int(10) UNSIGNED No -> users.id
ON UPDATE RESTRICT
ON DELETE CASCADE
review varchar(255 No
)
rating int(11) No

Page number: 10/19 Oct 11, 2019 at 03:38 PM


10 products

Creation: Oct 11, 2019 at 08:17 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id int(10) UNSIGNED No auto_increment


user_id int(10) UNSIGNED No -> users.id
ON UPDATE RESTRICT
ON DELETE CASCADE
subcategory_id int(10) UNSIGNED No -> rf_categorys.id
ON UPDATE RESTRICT
ON DELETE CASCADE
productname varchar(60) No
description varchar(100 No
)
stock int(11) No
price bigint(20) No
rating int(10) UNSIGNED No
created_at timestamp Yes NULL
updated_at timestamp Yes NULL

Page number: 11/19 Oct 11, 2019 at 03:38 PM


11 rf_categorys

Creation: Oct 11, 2019 at 07:14 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id int(10) UNSIGNED No auto_increment


categoryname varchar(255 No
)

Page number: 12/19 Oct 11, 2019 at 03:38 PM


12 rf_roles

Creation: Oct 11, 2019 at 06:35 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id int(10) UNSIGNED No auto_increment


roledesc varchar(15) No

Page number: 13/19 Oct 11, 2019 at 03:38 PM


13 rf_status

Creation: Oct 11, 2019 at 08:17 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id int(10) UNSIGNED No auto_increment


decsription varchar(50) No

Page number: 14/19 Oct 11, 2019 at 03:38 PM


14 rf_subcategorys

Creation: Oct 11, 2019 at 07:14 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id int(10) UNSIGNED No auto_increment


category_id int(10) UNSIGNED No -> rf_categorys.id
ON UPDATE RESTRICT
ON DELETE CASCADE
subcategoryna varchar(255 No
me )

Page number: 15/19 Oct 11, 2019 at 03:38 PM


15 shopping_carts

Creation: Oct 11, 2019 at 08:17 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id int(10) UNSIGNED No auto_increment


product_id int(10) UNSIGNED No -> products.id
ON UPDATE RESTRICT
ON DELETE CASCADE
user_id int(10) UNSIGNED No -> users.id
ON UPDATE RESTRICT
ON DELETE CASCADE
quantity int(10) UNSIGNED No

Page number: 16/19 Oct 11, 2019 at 03:38 PM


16 users

Creation: Oct 11, 2019 at 06:35 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id int(10) UNSIGNED No auto_increment


firstname varchar(50) No
lastname varchar(50) No
phonenumber varchar(20) No
email varchar(50) No
password varchar(255 No
)
dob date No
gender tinyint(4) No
created_at timestamp Yes NULL
updated_at timestamp Yes NULL

Page number: 17/19 Oct 11, 2019 at 03:38 PM


17 user_roles

Creation: Oct 11, 2019 at 06:36 PM

Column Type Attributes Null Default Extra Links to Comments MIME

id int(10) UNSIGNED No auto_increment


user_id int(10) UNSIGNED No -> users.id
ON UPDATE RESTRICT
ON DELETE CASCADE
role_id int(10) UNSIGNED No -> rf_roles.id
ON UPDATE RESTRICT
ON DELETE CASCADE

Page number: 18/19 Oct 11, 2019 at 03:38 PM


45 91 137 182 228 273 319 365 410 456 501 547 593 638 684 729 775 821 866 912 957 1003 1049 1094 1140 1185 1231 1277 1322 136

-34

12 oauth_personal_access_clients
id
oauth_auth_codes
id
oauth_access_tokens
id
client_id user_id user_id
created_at client_id client_id
updated_at scopes name
revoked scopes

57 expires_at revoked
created_at
updated_at
expires_at

103
oauth_refresh_tokens
id
access_token_id
revoked

149
expires_at

oauth_clients
id
user_id
name
secret
redirect

194
personal_access_client
password_client
revoked migrations
created_at id
updated_at migration
batch
users
id

240 firstname
lastname
phonenumber
email
password
dob
gender

285 created_at
updated_at

shopping_carts
id
product_id
user_id
quantity

331

rf_categorys

377 id
categoryname

orders
id
ordername

422 product_id
seller_id
buyer_id
rf_roles quantity
id rf_subcategorys dtend
roledesc id status_id
category_id created_at

468 subcategoryname updated_at

513 user_roles
id
user_id
role_id
products
id
user_id

559 subcategory_id
productname
description
stock
price
rating
created_at

605
updated_at
messages
id rf_status
seller_id id
buyer_id decsription
message
created_at
updated_at

650
order_reviews
id

696 product_id
buyer_id
review
rating

741

Page number: 19/19 Oct 11, 2019 at 03:38 PM


Powered by TCPDF (www.tcpdf.org)

Potrebbero piacerti anche