-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReadme.txt
More file actions
34 lines (24 loc) · 1.12 KB
/
Copy pathReadme.txt
File metadata and controls
34 lines (24 loc) · 1.12 KB
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
//command to read all column name with description from mysql
//Copy only the tuples like
| busID | varchar(10) |
| operator | varchar(100) |
| type | varchar(50) |
| origin | varchar(50) |
| destination | varchar(50) |
| originArea | varchar(50) |
| destinationArea | varchar(50) |
| departure | time |
| arrival | time |
| seats | int |
| windows | int |
| fare | decimal(10,2) |
| seatsAvailable | int |
| noofbookings | int |
//don't copy ------+------+ or |COLUMN_NAME |COLUMN_TYPE |
select COLUMN_NAME , COLUMN_TYPE FROM information_schema.columns where table_name = 'activities' and table_schema= 'miniproject';
Additional commands
npm init -y
npm i express , mysql2 , axios
npx install -D tailwindcss@3
npx tailwindcss@3 -i ./views/input.css -o ./views/output.css --watch
//check {name}Id every time in controllers by searching in sql sheet .It might not correspond to the one mentioned in delete{name}() , update{name}()