-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
related to : #38
- Loading branch information
Showing
6 changed files
with
36 additions
and
19 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CREATE TABLE PET_WALK_RECORDS ( | ||
id BIGINT AUTO_INCREMENT PRIMARY KEY, | ||
pet_id BIGINT NOT NULL, | ||
walk_record_id BIGINT NOT NULL | ||
); |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
CREATE TABLE WALK_RECORD_CENTER_POSITION ( | ||
id BIGINT AUTO_INCREMENT PRIMARY KEY, | ||
walk_record_id BIGINT, | ||
latitude DOUBLE NOT NULL, | ||
longitude DOUBLE 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CREATE TABLE WALK_RECORD_PATH ( | ||
id BIGINT AUTO_INCREMENT PRIMARY KEY, | ||
latitude DOUBLE NOT NULL, | ||
longitude DOUBLE 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
CREATE TABLE WALK_RECORDS ( | ||
id BIGINT AUTO_INCREMENT PRIMARY KEY, | ||
buddy_ids VARCHAR(255) NOT NULL, | ||
start_date DATE NOT NULL, | ||
end_date DATE NOT NULL, | ||
start_time TIME NOT NULL, | ||
end_time TIME NOT NULL, | ||
total_time VARCHAR(20) NOT NULL, | ||
note VARCHAR(255) NOT NULL, | ||
center_position VARCHAR(255) NOT NULL, | ||
map_level INT NOT NULL, | ||
path TEXT NOT NULL, | ||
path_image VARCHAR NOT NULL, | ||
distance DOUBLE(10, 3) NOT NULL | ||
CREATE TABLE WALK_RECORD ( | ||
id BIGINT AUTO_INCREMENT PRIMARY KEY, | ||
start_date DATE NOT NULL, | ||
end_date DATE NOT NULL, | ||
start_time VARCHAR(255) NOT NULL, | ||
end_time VARCHAR(255) NOT NULL, | ||
total_time VARCHAR(255) NOT NULL, | ||
note VARCHAR(255) NOT NULL, | ||
center_position_id BIGINT, | ||
map_level INT NOT NULL, | ||
path_image_id BIGINT, | ||
distance DOUBLE(10,3) 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CREATE TABLE WALK_S3_IMAGE ( | ||
id BIGINT AUTO_INCREMENT PRIMARY KEY, | ||
image_url VARCHAR(1000) NOT NULL, | ||
file_name VARCHAR(255) NOT NULL, | ||
file_type VARCHAR(255) NOT NULL, | ||
file_size BIGINT NOT NULL, | ||
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP | ||
); |