forked from macinternship/macinternship.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
create_table.sql
executable file
·135 lines (123 loc) · 2.44 KB
/
create_table.sql
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
create table login (
id SERIAL PRIMARY KEY,
username TEXT,
password TEXT,
photoid TEXT,
type TEXT
);
create table student (
id SERIAL PRIMARY KEY,
studentid TEXT,
firstname TEXT,
middlename TEXT,
lastname TEXT,
email TEXT,
telephone TEXT,
gender TEXT,
residentstatus TEXT,
country TEXT,
semesterregistered TEXT,
currentgpa real,
internshipstatus TEXT);
create table internship (
id SERIAL PRIMARY KEY,
studentid TEXT,
companyid TEXT,
notes TEXT);
create table job (
id SERIAL PRIMARY KEY,
companyid TEXT,
position TEXT,
description TEXT,
responsibilities TEXT,
requirements TEXT,
salary TEXT,
availability TEXT);
create table company (
id SERIAL PRIMARY KEY,
photoid TEXT,
companyname TEXT,
address TEXT,
city TEXT,
postalcode TEXT,
country TEXT,
contactpersonfirstname TEXT,
contactpersonlastname TEXT,
contactpersonposition TEXT,
telephone TEXT,
email TEXT,
type TEXT,
companywebsite TEXT);
create table student_job_achieved (
id SERIAL PRIMARY KEY,
studentid TEXT,
jobid TEXT);
create table student_job_interest (
id SERIAL PRIMARY KEY,
studentid TEXT,
jobid TEXT);
create table semesterregistered (
id SERIAL PRIMARY KEY,
semester TEXT,
year TEXT);
create table education (
id SERIAL PRIMARY KEY,
studentid TEXT,
degreetype TEXT,
major TEXT,
gpa real,
university TEXT,
location TEXT,
certifications TEXT);
create table workexperience (
id SERIAL PRIMARY KEY,
studentid TEXT,
companyid TEXT,
location TEXT,
startdate date,
enddate date,
position TEXT);
create table feed(
id SERIAL PRIMARY KEY,
studentid TEXT,
value TEXT,
datetime timestamp
);
insert into semesterregistered (semester, year) values ('fall', '2015');
insert into semesterregistered (semester, year) values ('winter', '2016');
create table skill (
studentid TEXT,
asp_dot_net int default 0,
c int default 0,
cplusplus int default 0,
csharp int default 0,
flex int default 0,
java int default 0,
javascript int default 0,
lisp int default 0,
matlab int default 0,
mysql int default 0,
objectivec int default 0,
pascal int default 0,
perl int default 0,
php int default 0,
prolog int default 0,
python int default 0,
r int default 0,
ruby int default 0,
sql_oracle int default 0,
tcl int default 0,
t_sql int default 0,
vb_dot_net int default 0,
concrete int default 0,
dotnetnuke int default 0,
drupal int default 0,
joomla int default 0,
wordpress int default 0,
android int default 0,
chromeos int default 0,
ios int default 0,
linux int default 0,
macos int default 0,
unix int default 0,
windows int default 0);