Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 26 additions & 36 deletions src/main/kotlin/upbrella/be/config/DevCorsConfig.kt
Original file line number Diff line number Diff line change
@@ -1,43 +1,33 @@
package upbrella.be.config

import org.springframework.context.annotation.Configuration
import org.springframework.context.annotation.Profile
import org.springframework.stereotype.Component
import javax.servlet.*
import javax.servlet.http.HttpServletRequest
import javax.servlet.http.HttpServletResponse
import org.springframework.http.HttpMethod
import org.springframework.web.servlet.config.annotation.CorsRegistry
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Profile("dev")
@Component
class DevCorsConfig : Filter {

override fun init(filterConfig: FilterConfig) {
// No initialization needed
}

override fun doFilter(req: ServletRequest, res: ServletResponse, chain: FilterChain) {
val request = req as HttpServletRequest
val response = res as HttpServletResponse

if (request.getHeader("Origin") != null) {
if (request.getHeader("Origin").contains("upbrella-dev.site")) {
response.setHeader("Access-Control-Allow-Origin", "http://upbrella-dev.site")
} else {
response.setHeader("Access-Control-Allow-Origin", "http://localhost:3000")
}
} else {
response.setHeader("Access-Control-Allow-Origin", "http://localhost:3000")
}

response.setHeader("Access-Control-Allow-Credentials", "true")
response.setHeader("Access-Control-Allow-Methods", "GET, POST, PATCH, DELETE, HEAD, OPTIONS")
response.setHeader("Access-Control-Max-Age", "10")
response.setHeader("Access-Control-Allow-Headers",
"Origin, X-Requested-With, Content-Type, Accept, Authorization")

chain.doFilter(request, response)
}

override fun destroy() {
// No cleanup needed
@Profile("dev")
@Configuration
class DevCorsConfig : WebMvcConfigurer {

override fun addCorsMappings(registry: CorsRegistry) {
registry.addMapping("/**")
.allowedOrigins(
"http://localhost:3000",
"https://upbrella-front.vercel.app",
"https://dev.upbrella.link"
)
.allowedMethods(
HttpMethod.GET.name,
HttpMethod.POST.name,
HttpMethod.PATCH.name,
HttpMethod.DELETE.name,
HttpMethod.HEAD.name,
HttpMethod.OPTIONS.name
)
.allowedHeaders("*")
.allowCredentials(true)
.maxAge(3600)
}
}
6 changes: 3 additions & 3 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ spring:
config:
import: "classpath:application.properties"
datasource:
url: ${DATABASE_URL}
username: ${DATABASE_USERNAME}
password: ${DATABASE_PASSWORD}
url: jdbc:mysql://localhost:3306/upbrella_dev?useSSL=false&serverTimezone=Asia/Seoul&characterEncoding=utf8
username: root
password: ${DEV_DATABASE_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
properties:
Expand Down
262 changes: 262 additions & 0 deletions src/main/resources/db/init.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,262 @@
-- MySQL dump 10.13 Distrib 8.4.4, for macos15.2 (arm64)
--
-- Host: upbrella-production-db.ccjiaacly7wf.ap-northeast-2.rds.amazonaws.com Database: upbrella_prod
-- ------------------------------------------------------
-- Server version 8.0.40

Comment on lines +1 to +6
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Include database creation and usage statements.
The script drops and recreates tables but doesn’t explicitly ensure the upbrella_prod database exists or switch to it. Add a CREATE DATABASE IF NOT EXISTS upbrella_prod; and USE upbrella_prod; at the top to guarantee context.

🤖 Prompt for AI Agents
In src/main/resources/db/init.sql at the beginning of the file (lines 1 to 6),
the script lacks explicit statements to create the database if it doesn't exist
and to switch to it. Add a `CREATE DATABASE IF NOT EXISTS upbrella_prod;`
statement followed by a `USE upbrella_prod;` statement at the top of the file to
ensure the database context is set before any table operations.

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
SET @MYSQLDUMP_TEMP_LOG_BIN = @@SESSION.SQL_LOG_BIN;
SET @@SESSION.SQL_LOG_BIN= 0;

--
-- GTID state at the beginning of the backup
--

SET @@GLOBAL.GTID_PURGED=/*!80000 '+'*/ '';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Eliminate GTID_PURGED assignment for compatibility with managed environments.
SET @@GLOBAL.GTID_PURGED often fails on RDS or restricted MySQL instances. Remove or externalize GTID handling to avoid permission errors.

🤖 Prompt for AI Agents
In src/main/resources/db/init.sql at line 24, remove the line setting
@@GLOBAL.GTID_PURGED to avoid permission errors in managed MySQL environments
like RDS. This eliminates the assignment that is often disallowed, improving
compatibility. If GTID handling is necessary, externalize it to a script or
process with appropriate privileges outside this initialization script.


--
-- Table structure for table `black_list`
--

DROP TABLE IF EXISTS `black_list`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `black_list` (
`id` int NOT NULL AUTO_INCREMENT,
`social_id` bigint DEFAULT NULL,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Unify social_id column types across tables.
black_list.social_id is BIGINT, but user.social_id is VARCHAR(500). Choose a single type (e.g., VARCHAR(255) or BIGINT) to enforce consistency and avoid implicit conversions.

Also applies to: 240-240

🤖 Prompt for AI Agents
In src/main/resources/db/init.sql at lines 35 and 240, the social_id column
types differ between tables, with one as BIGINT and another as VARCHAR(500). To
fix this, choose a single consistent data type for social_id across all tables,
such as VARCHAR(255) or BIGINT, and update the column definitions accordingly to
ensure uniformity and prevent implicit type conversions.

`blocked_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `business_hour`
--

DROP TABLE IF EXISTS `business_hour`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `business_hour` (
`id` int NOT NULL AUTO_INCREMENT,
`store_meta_id` int DEFAULT NULL,
`date` varchar(45) DEFAULT NULL,
`open_at` time DEFAULT NULL,
`close_at` time DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=391 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
Comment on lines +49 to +55
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Add foreign key and index on store_meta_id.
business_hour.store_meta_id links to store_meta(id) but lacks an explicit FOREIGN KEY constraint and index. Define:

INDEX idx_business_hour_store_meta (store_meta_id),
FOREIGN KEY (store_meta_id) REFERENCES store_meta(id)

to enforce referential integrity and improve query performance.

🤖 Prompt for AI Agents
In src/main/resources/db/init.sql around lines 49 to 55, the business_hour table
defines store_meta_id without a foreign key constraint or index. Add an index on
store_meta_id named idx_business_hour_store_meta and define a foreign key
constraint referencing store_meta(id) to enforce referential integrity and
optimize queries. Update the table definition to include these after the column
definitions but before the closing parenthesis.

/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `classification`
--

DROP TABLE IF EXISTS `classification`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `classification` (
`id` int NOT NULL AUTO_INCREMENT,
`type` varchar(45) DEFAULT NULL,
`name` varchar(45) DEFAULT NULL,
`latitude` double DEFAULT NULL,
`longitude` double DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `condition_report`
--

DROP TABLE IF EXISTS `condition_report`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `condition_report` (
`id` int NOT NULL AUTO_INCREMENT,
`content` varchar(401) DEFAULT NULL,
`etc` varchar(255) DEFAULT NULL,
`history_id` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=523 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `history`
--

DROP TABLE IF EXISTS `history`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `history` (
`id` int NOT NULL AUTO_INCREMENT,
`etc` varchar(255) DEFAULT NULL,
`rented_at` datetime DEFAULT NULL,
`returned_at` datetime DEFAULT NULL,
`rent_store_meta_id` int DEFAULT NULL,
`return_store_meta_id` int DEFAULT NULL,
`umbrella_id` int DEFAULT NULL,
`user_id` int DEFAULT NULL,
`bank` varchar(45) DEFAULT NULL,
`account_number` varchar(45) DEFAULT NULL,
Comment on lines +107 to +108
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Align bank and account_number column types across tables.
history.bank and history.account_number use VARCHAR(45), whereas user.bank and user.account_number are VARCHAR(500). Choose consistent length/type to prevent truncation or waste.

Also applies to: 241-242

🤖 Prompt for AI Agents
In src/main/resources/db/init.sql around lines 107-108 and 241-242, the column
types for `bank` and `account_number` are inconsistent between the `history` and
`user` tables, with lengths of VARCHAR(45) and VARCHAR(500) respectively. To fix
this, choose a consistent VARCHAR length for both columns across all tables,
either by increasing the length in `history` to 500 or reducing the length in
`user` to 45, and update the column definitions accordingly to ensure uniformity
and prevent data issues.

`refunded_at` datetime DEFAULT NULL,
`refunded_by` int DEFAULT NULL,
`paid_at` datetime DEFAULT NULL,
`paid_by` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=523 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `improvement_report`
--

DROP TABLE IF EXISTS `improvement_report`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `improvement_report` (
`id` int NOT NULL AUTO_INCREMENT,
`content` varchar(401) DEFAULT NULL,
`etc` varchar(255) DEFAULT NULL,
`history_id` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=434 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `locker`
--

DROP TABLE IF EXISTS `locker`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `locker` (
`id` int NOT NULL AUTO_INCREMENT,
`count` int DEFAULT NULL,
`secret_key` varchar(2000) DEFAULT NULL,
`last_access` timestamp NULL DEFAULT NULL,
`store_meta_id` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
Comment on lines +145 to +147
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Add foreign key and index on store_meta_id.
locker.store_meta_id should reference store_meta(id) and be indexed:

INDEX idx_locker_store_meta (store_meta_id),
FOREIGN KEY (store_meta_id) REFERENCES store_meta(id)

to ensure referential integrity.

🤖 Prompt for AI Agents
In src/main/resources/db/init.sql around lines 145 to 147, the table definition
for locker lacks a foreign key constraint and index on the store_meta_id column.
Add an index named idx_locker_store_meta on store_meta_id and define a foreign
key constraint on store_meta_id referencing store_meta(id) to enforce
referential integrity. Include these definitions before the closing parenthesis
of the table schema.

/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `store_detail`
--

DROP TABLE IF EXISTS `store_detail`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `store_detail` (
`id` int NOT NULL AUTO_INCREMENT,
`address` varchar(255) DEFAULT NULL,
`address_detail` varchar(255) DEFAULT NULL,
`contact_info` varchar(255) DEFAULT NULL,
`content` varchar(255) DEFAULT NULL,
`insta_url` varchar(255) DEFAULT NULL,
`working_hour` varchar(255) DEFAULT NULL,
`store_meta_id` int DEFAULT NULL,
`umbrella_location` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
Comment on lines +165 to +167
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Add foreign key and index on store_meta_id.
store_detail.store_meta_id lacks an explicit index and constraint. Include:

INDEX idx_store_detail_store_meta (store_meta_id),
FOREIGN KEY (store_meta_id) REFERENCES store_meta(id)

for integrity and performance.

🤖 Prompt for AI Agents
In src/main/resources/db/init.sql around lines 165 to 167, the column
store_meta_id in the store_detail table lacks an index and foreign key
constraint. Add an index named idx_store_detail_store_meta on store_meta_id and
define a foreign key constraint referencing store_meta(id) to ensure referential
integrity and improve query performance.

) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `store_image`
--

DROP TABLE IF EXISTS `store_image`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `store_image` (
`id` int NOT NULL AUTO_INCREMENT,
`image_url` varchar(2000) DEFAULT NULL,
`store_detail_id` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=60 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
Comment on lines +181 to +183
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Add foreign key and index on store_detail_id.
store_image.store_detail_id should be indexed and constrained:

INDEX idx_store_image_detail (store_detail_id),
FOREIGN KEY (store_detail_id) REFERENCES store_detail(id)

to maintain referential integrity.

🤖 Prompt for AI Agents
In src/main/resources/db/init.sql around lines 181 to 183, add an index and a
foreign key constraint on the store_detail_id column in the store_image table.
Modify the table definition to include INDEX idx_store_image_detail
(store_detail_id) and FOREIGN KEY (store_detail_id) REFERENCES store_detail(id)
to ensure referential integrity and improve query performance.

/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `store_meta`
--

DROP TABLE IF EXISTS `store_meta`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `store_meta` (
`id` int NOT NULL AUTO_INCREMENT,
`classification_id` bigint DEFAULT NULL,
`sub_classification_id` bigint DEFAULT NULL,
`activated` tinyint DEFAULT NULL,
`deleted` tinyint DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`category` varchar(255) DEFAULT NULL,
`latitude` double DEFAULT NULL,
`longitude` double DEFAULT NULL,
`password` varchar(45) DEFAULT NULL,
Comment on lines +195 to +203
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Enforce foreign keys, indices, and consistent types on classification references.

  • classification_id and sub_classification_id are BIGINT but classification.id is INT; align types.
  • Add indices:
    INDEX idx_store_meta_class (classification_id),
    INDEX idx_store_meta_sub_class (sub_classification_id),
    FOREIGN KEY (classification_id) REFERENCES classification(id),
    FOREIGN KEY (sub_classification_id) REFERENCES classification(id)

to ensure data integrity and improve joins.

🤖 Prompt for AI Agents
In src/main/resources/db/init.sql around lines 195 to 203, the columns
classification_id and sub_classification_id are defined as BIGINT but the
referenced classification.id is INT, causing a type mismatch. Change both
classification_id and sub_classification_id to INT to match classification.id.
Then, add indices idx_store_meta_class on classification_id and
idx_store_meta_sub_class on sub_classification_id. Finally, add foreign key
constraints on classification_id and sub_classification_id referencing
classification(id) to enforce data integrity and optimize joins.

PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `umbrella`
--

DROP TABLE IF EXISTS `umbrella`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `umbrella` (
`id` int NOT NULL AUTO_INCREMENT,
`deleted` tinyint DEFAULT NULL,
`rentable` tinyint DEFAULT NULL,
`uuid` bigint DEFAULT NULL,
`store_meta_id` int DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`etc` varchar(255) DEFAULT NULL,
`missed` tinyint DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=209 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
Comment on lines +220 to +225
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Add foreign key and index on store_meta_id.
umbrella.store_meta_id should reference store_meta(id):

INDEX idx_umbrella_store_meta (store_meta_id),
FOREIGN KEY (store_meta_id) REFERENCES store_meta(id)

to enforce referential integrity.

🤖 Prompt for AI Agents
In src/main/resources/db/init.sql around lines 220 to 225, add an index and a
foreign key constraint on the store_meta_id column. Modify the table definition
to include INDEX idx_umbrella_store_meta (store_meta_id) and FOREIGN KEY
(store_meta_id) REFERENCES store_meta(id) to enforce referential integrity
between umbrella.store_meta_id and store_meta.id.

/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `user`
--

DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user` (
`id` int NOT NULL AUTO_INCREMENT,
`admin_status` tinyint DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`phone_number` varchar(255) DEFAULT NULL,
`social_id` varchar(500) DEFAULT NULL,
`bank` varchar(500) DEFAULT NULL,
`account_number` varchar(500) DEFAULT NULL,
`email` varchar(500) DEFAULT NULL,
PRIMARY KEY (`id`)
Comment on lines +238 to +244
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Add unique constraints and indices on key columns.
Critical columns like email, social_id, and phone_number are often used to identify a user. Define unique indexes:

UNIQUE INDEX uq_user_email (email),
UNIQUE INDEX uq_user_social (social_id),
INDEX idx_user_phone (phone_number)

to enforce uniqueness and speed up lookups.

🤖 Prompt for AI Agents
In src/main/resources/db/init.sql around lines 238 to 244, add unique
constraints and indexes on the email, social_id, and phone_number columns to
enforce uniqueness and improve query performance. Specifically, add UNIQUE INDEX
uq_user_email on email, UNIQUE INDEX uq_user_social on social_id, and a regular
INDEX idx_user_phone on phone_number within the table definition.

) ENGINE=InnoDB AUTO_INCREMENT=743 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping routines for database 'upbrella_prod'
--
SET @@SESSION.SQL_LOG_BIN = @MYSQLDUMP_TEMP_LOG_BIN;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2025-05-18 21:02:45