Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
KHY_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
허진호
2020-06-17 17:15:26 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e3a9aea9cf3841482ddb394348cecb43bfd519b9
e3a9aea9
1 parent
86aabfa8
sql 파일 추가
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
DB/SQL/create_table_student_request.sql
DB/SQL/create_table_student_request.sql
0 → 100644
View file @
e3a9aea
CREATE
TABLE
`student_request`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`lecture_id`
varchar
(
20
)
NOT
NULL
,
`student_id`
varchar
(
10
)
NOT
NULL
,
`student_name`
varchar
(
45
)
DEFAULT
NULL
,
`timestamp`
datetime
DEFAULT
CURRENT_TIMESTAMP
,
`status`
varchar
(
10
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
KEY
`lecture_id`
(
`lecture_id`
),
KEY
`student_id`
(
`student_id`
),
CONSTRAINT
`student_request_ibfk_3`
FOREIGN
KEY
(
`lecture_id`
)
REFERENCES
`lecture`
(
`lecture_id`
),
CONSTRAINT
`student_request_ibfk_4`
FOREIGN
KEY
(
`student_id`
)
REFERENCES
`student`
(
`student_id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
29
DEFAULT
CHARSET
=
utf8
;
Please
register
or
login
to post a comment