0% found this document useful (0 votes)
23 views12 pages

BSM

The document contains a table of contents listing 11 tables with their corresponding page numbers. The tables describe the structure of each database table, including the column names and data types. Primary keys are identified and relationships between tables are denoted by references.

Uploaded by

Harish Verma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views12 pages

BSM

The document contains a table of contents listing 11 tables with their corresponding page numbers. The tables describe the structure of each database table, including the column names and data types. Primary keys are identified and relationships between tables are denoted by references.

Uploaded by

Harish Verma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Table of contents

1 optiongroups Page number: 2


2 options Page number: 3
3 orderdetails Page number: 4
4 orders Page number: 5
5 productcategories Page number: 6
6 productoptions Page number: 7
7 products Page number: 8
8 users Page number: 9
9 user_address Page number: 10
10 user_payment Page number: 11
11 Relational schema Page number: 12

Page number: 1/12 Oct 11, 2022 at 09:47 PM


1 optiongroups

Creation: Oct 11, 2022 at 08:57 PM


Last update: Oct 11, 2022 at 08:57 PM

Column Type Attributes Null Default Extra Links to Comments MIME

OptionGroupID int(11) No auto_increment


OptionGroupNa varchar(50) Yes NULL
me

Page number: 2/12 Oct 11, 2022 at 09:47 PM


2 options

Creation: Oct 11, 2022 at 08:57 PM


Last update: Oct 11, 2022 at 08:57 PM

Column Type Attributes Null Default Extra Links to Comments MIME

OptionID int(11) No auto_increment


OptionGroupID int(11) Yes NULL ->
optiongroups.OptionGroupID
OptionName varchar(50) Yes NULL

Page number: 3/12 Oct 11, 2022 at 09:47 PM


3 orderdetails

Creation: Oct 11, 2022 at 08:57 PM


Last update: Oct 11, 2022 at 08:57 PM

Column Type Attributes Null Default Extra Links to Comments MIME

DetailID int(11) No auto_increment


DetailOrderID int(11) No
DetailProductID int(11) No -> products.ProductID
DetailName varchar(250 No
)
DetailPrice float No
DetailSKU varchar(50) No
DetailQuantity int(11) No

Page number: 4/12 Oct 11, 2022 at 09:47 PM


4 orders

Creation: Oct 11, 2022 at 08:57 PM


Last update: Oct 11, 2022 at 08:57 PM

Column Type Attributes Null Default Extra Links to Comments MIME

OrderID int(11) No auto_increment


OrderUserID int(11) No -> users.UserID
OrderAmount float No
OrderShipName varchar(100 No
)
OrderShipAddre varchar(100 No
ss )
OrderShipAddre varchar(100 No
ss2 )
OrderCity varchar(50) No
OrderState varchar(50) No
OrderZip varchar(20) No
OrderCountry varchar(50) No
OrderPhone varchar(20) No
OrderFax varchar(20) No
OrderShipping float No
OrderTax float No
OrderEmail varchar(100 No
)
OrderDate timestamp No current_tim
estamp()
OrderShipped tinyint(1) No 0
OrderTrackingN varchar(80) Yes NULL
umber

Page number: 5/12 Oct 11, 2022 at 09:47 PM


5 productcategories

Creation: Oct 11, 2022 at 08:57 PM


Last update: Oct 11, 2022 at 08:57 PM

Column Type Attributes Null Default Extra Links to Comments MIME

CategoryID int(11) No auto_increment


CategoryName varchar(50) No

Page number: 6/12 Oct 11, 2022 at 09:47 PM


6 productoptions

Creation: Oct 11, 2022 at 08:57 PM


Last update: Oct 11, 2022 at 08:57 PM

Column Type Attributes Null Default Extra Links to Comments MIME

ProductOptionI int(10) UNSIGNED No auto_increment


D
ProductID int(10) UNSIGNED No -> products.ProductID
OptionID int(10) UNSIGNED No -> options.OptionID
OptionPriceIncr double Yes NULL
ement
OptionGroupID int(11) No ->
optiongroups.OptionGroupID

Page number: 7/12 Oct 11, 2022 at 09:47 PM


7 products

Creation: Oct 12, 2022 at 12:31 AM


Last update: Oct 12, 2022 at 12:31 AM

Column Type Attributes Null Default Extra Links to Comments MIME

ProductID int(12) No auto_increment


ProductName varchar(100 No
)
ProductPrice float No
ProductCartDes varchar(250 No
c )
ProductShortDe varchar(100 No
sc 0)
ProductLongDe text No
sc
ProductThumb varchar(100 No
)
ProductImage varchar(100 No
)
ProductCategor int(11) Yes NULL ->
yID productcategories.CategoryID
ProductUpdate timestamp No current_tim
Date estamp()
ProductStock float Yes NULL
ProductLive tinyint(1) Yes 0
ProductUnlimite tinyint(1) Yes 1
d
ProductLocation varchar(250 Yes NULL
)

Page number: 8/12 Oct 11, 2022 at 09:47 PM


8 users

Creation: Oct 12, 2022 at 12:30 AM


Last update: Oct 12, 2022 at 12:30 AM

Column Type Attributes Null Default Extra Links to Comments MIME

UserID int(11) No auto_increment


UserEmail varchar(500 Yes NULL
)
UserPassword varchar(500 Yes NULL
)
UserFirstName varchar(50) Yes NULL
UserLastName varchar(50) Yes NULL
UserEmailVerifi tinyint(1) Yes 0
ed
UserRegistratio timestamp Yes current_tim
nDate estamp()
UserVerification varchar(20) Yes NULL
Code
UserPhone varchar(20) Yes NULL

Page number: 9/12 Oct 11, 2022 at 09:47 PM


9 user_address

Creation: Oct 12, 2022 at 12:28 AM

Column Type Attributes Null Default Extra Links to Comments MIME

ID int(15) No
UserID int(20) No
Address_Line1 varchar(50) No
Address_Line2 varchar(50) No
City varchar(20) No
State varchar(20) No
Zip_Code int(10) No
Mobile_No. int(15) No

Page number: 10/12 Oct 11, 2022 at 09:47 PM


10 user_payment

Creation: Oct 12, 2022 at 12:28 AM

Column Type Attributes Null Default Extra Links to Comments MIME

ID int(15) No
UserID int(15) No
Payment_Type varchar(20) No
Card_No int(20) No
Expiry date No

Page number: 11/12 Oct 11, 2022 at 09:47 PM


orders
productoptions
OrderID
ProductOptionID
OrderUserID
ProductID
OrderAmount
OptionID
products OrderShipName users
OptionPriceIncrement
ProductID OrderShipAddress UserID
OptionGroupID
ProductName OrderShipAddress2 UserEmail
ProductPrice OrderCity UserPassword
ProductCartDesc OrderState UserFirstName
ProductShortDesc OrderZip UserLastName
ProductLongDesc OrderCountry UserEmailVerified
ProductThumb OrderPhone UserRegistrationDate
ProductImage OrderFax UserVerificationCode
ProductCategoryID OrderShipping UserPhone
ProductUpdateDate OrderTax
ProductStock OrderEmail
orderdetails OrderDate
ProductLive
DetailID OrderShipped
ProductUnlimited
DetailOrderID OrderTrackingNumber
ProductLocation
DetailProductID
DetailName
user_payment
DetailPrice
ID
DetailSKU
UserID
DetailQuantity
Payment_Type
Card_No
Expiry

options
OptionID
OptionGroupID
OptionName

user_address
ID
UserID
Address_Line1
Address_Line2
City
State
Zip_Code
Mobile_No.

optiongroups
OptionGroupID
OptionGroupName

productcategories
CategoryID
CategoryName

Page number: 12/12 Oct 11, 2022 at 09:47 PM


Powered by TCPDF (www.tcpdf.org)

You might also like