forked from woowacourse/java-chess
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2aae9c8
commit 3becd43
Showing
2 changed files
with
41 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,41 @@ | ||
create table chess_test.table_name | ||
create table chess.user | ||
( | ||
user_id varchar(100) null | ||
); | ||
create table chess.chess_board | ||
( | ||
user_id varchar(100) null, | ||
chess_id int auto_increment, | ||
constraint chess_board_pk | ||
primary key (chess_id) | ||
); | ||
create table chess.move | ||
( | ||
chess_id int not null, | ||
origin varchar(10) not null, | ||
destination varchar(10) not null, | ||
turn int not null | ||
); | ||
create table chess_test.user_dao | ||
( | ||
user_id varchar(100) null, | ||
name varchar(100) null | ||
); | ||
create table chess_test.user | ||
( | ||
user_id varchar(100) null | ||
); | ||
create table chess_test.chess_board | ||
( | ||
user_id varchar(100) null, | ||
chess_id int auto_increment, | ||
constraint chess_board_pk | ||
primary key (chess_id) | ||
); | ||
create table chess_test.move | ||
( | ||
chess_id int not null, | ||
origin varchar(10) not null, | ||
destination varchar(10) not null, | ||
turn int not null | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters