Skip to content

Commit

Permalink
Merge pull request #260 from urinaner/feature/233
Browse files Browse the repository at this point in the history
fix: 예약 엔티티 필드 수정
  • Loading branch information
2Jin1031 authored Jan 12, 2025
2 parents 5ee255e + a308c0e commit 1e777d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 4 additions & 5 deletions backend/backup.sql
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,11 @@ CREATE TABLE `reservation` (
`end_time` DATETIME NOT NULL,
`purpose` VARCHAR(50) NOT NULL,
`etc` VARCHAR(255),
`repetition_type` VARCHAR(50) DEFAULT NULL,
`status` VARCHAR(50) NOT NULL,
`seminar_room_id` BIGINT,
`user_id` BIGINT,
`room_id` BIGINT,
`user_name` VARCHAR(255) NOT NULL,
`password` VARCHAR(255) NOT NULL,
PRIMARY KEY (`reservation_id`),
CONSTRAINT `FK_reservation_seminar_room` FOREIGN KEY (`seminar_room_id`) REFERENCES `seminar_room` (`seminar_room_id`)
CONSTRAINT `FK_reservation_room` FOREIGN KEY (`room_id`) REFERENCES `room` (`room_id`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci;

-- Continue for other tables like `thesis`, `board`, and `users`
Expand Down
2 changes: 0 additions & 2 deletions backend/src/main/resources/data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ FROM department;
DELETE
FROM admin;
DELETE
FROM users;
DELETE
FROM news;


Expand Down

0 comments on commit 1e777d3

Please sign in to comment.