From 0c28633350263c8e948744b4d0d7a688bf5fa249 Mon Sep 17 00:00:00 2001 From: "2jin2.1031" <2jin2.1031@gmail.com> Date: Sun, 12 Jan 2025 15:32:09 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=EC=98=88=EC=95=BD=20=EC=97=94?= =?UTF-8?q?=ED=8B=B0=ED=8B=B0=20=ED=95=84=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/backup.sql | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/backend/backup.sql b/backend/backup.sql index 1292edbc..8998b4d3 100644 --- a/backend/backup.sql +++ b/backend/backup.sql @@ -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` From a308c0eb679f674f6783c4e7e73bc1a8732344bf Mon Sep 17 00:00:00 2001 From: "2jin2.1031" <2jin2.1031@gmail.com> Date: Sun, 12 Jan 2025 15:33:34 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20users=20=EC=97=94=ED=8B=B0=ED=8B=B0?= =?UTF-8?q?=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/resources/data.sql | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/src/main/resources/data.sql b/backend/src/main/resources/data.sql index 39a18b2d..409e71b9 100644 --- a/backend/src/main/resources/data.sql +++ b/backend/src/main/resources/data.sql @@ -15,8 +15,6 @@ FROM department; DELETE FROM admin; DELETE -FROM users; -DELETE FROM news;