-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcreate-table
158 lines (136 loc) · 2.87 KB
/
create-table
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
/**
create table user_registration
*/
create table user_registration(
user_id INT NOT NULL AUTO_INCREMENT,
user_email varchar(255),
fname varchar(255),
lname varchar(255),
user_name varchar(255),
address varchar(255),
gender varchar(255),
date_of_birth varchar(255),
mobile varchar(255),
confirm_pass varchar(255),
PRIMARY KEY (user_id));
/**
create table courier_info
*/
create table courier_info(
courier_id INT NOT NULL AUTO_INCREMENT,
courier_admin_email varchar(255),
company_name varchar(255),
author_name varchar(255),
address varchar(255),
mobile varchar(255),
confirm_pass varchar(255),
PRIMARY KEY (courier_id));
/**
create table Admin
*/
create table Admin(
id INT NOT NULL AUTO_INCREMENT,
admin_email varchar(255),
fname varchar(255),
lname varchar(255),
address varchar(255),
date_of_birth varchar(255),
mobile varchar(255),
confirm_pass varchar(255),
PRIMARY KEY (id));
/**
create table Division
*/
create table Division(
id INT NOT NULL AUTO_INCREMENT,
division_id INT,
division_name varchar(255),
PRIMARY KEY (id));
/**
create table District
*/
create table District(
id INT NOT NULL AUTO_INCREMENT,
division_id INT,
district_id INT,
district_name varchar(255),
PRIMARY KEY (id));
/**
create table upazila
*/
create table upazila(
id INT NOT NULL AUTO_INCREMENT,
division_id INT,
district_id INT,
upazila_id INT,
upazila_name varchar(255),
PRIMARY KEY (id));
/**
create table parcelDetails
*/
create table parcelDetails(
id INT NOT NULL AUTO_INCREMENT,
courier_id INT,
fromDivId INT,
fromDisId INT,
fromUzlaId INT,
toDivId INT,
toDisId INT,
toUzlaId INT,
serviceType varchar(50),
parcelType varchar(50),
PRIMARY KEY (id));
/**
create table parcelWeight
*/
create table parcelWeight(
id INT NOT NULL AUTO_INCREMENT,
weight varchar(255),
PRIMARY KEY (id));
/**
create table contact
*/
create table contact(
id INT NOT NULL AUTO_INCREMENT,
name varchar(255),
email varchar(255),
phone varchar(255),
company varchar(255),
message varchar(255),
PRIMARY KEY (id));
/**
create table userOrder
*/
create table userOrder(
id INT NOT NULL AUTO_INCREMENT,
user_id INT,
fname varchar(255),
lname varchar(255),
email varchar(255),
phone varchar(255),
address varchar(255),
courier_id INT,
fromDivId INT,
fromDisId INT,
fromUzlaId INT,
fromBranchId INT,
toDivId INT,
toDisId INT,
toUzlaId INT,
toBranchId INT,
serviceType varchar(50),
parcelType varchar(50),
parcel_weight varchar(50),
payment_type varchar(50),
PRIMARY KEY (id));
/**
create table parcentage
*/
create table parcentage(
id INT NOT NULL AUTO_INCREMENT,
user_id varchar(255),
date varchar(255),
cost varchar(255),
courier_id varchar(255),
PRIMARY KEY (id));
https://jqueryvalidation.org/