Skip to content

Commit

Permalink
bugfix: PR Merge과정에서 삭제된 DDL 추가 #32
Browse files Browse the repository at this point in the history
  • Loading branch information
PgmJun committed Jan 30, 2024
1 parent 2e4fd9c commit 4526bf8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/main/resources/sql/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,14 @@ CREATE TABLE `concepts`

CREATE TABLE `pets`
(
`pet_id` bigint AUTO_INCREMENT PRIMARY KEY,
`member_id` bigint NOT NULL,
`pet_name` varchar(30) NOT NULL,
`pet_photos` json NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`modified_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
`pet_id` bigint AUTO_INCREMENT PRIMARY KEY,
`member_id` bigint NOT NULL,
`pet_name` varchar(30) NOT NULL,
`pet_fur_color` varchar(30) NOT NULL,
`pet_image_s3_directory_path` varchar(100) NOT NULL,
`pet_photos` json NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`modified_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);

CREATE TABLE `albums`
Expand Down

0 comments on commit 4526bf8

Please sign in to comment.