🗃️ 执行数据库相关的变化,修正数据编码

This commit is contained in:
lbw 2023-07-21 22:21:52 +08:00
parent 09a5a262f4
commit 58d09be7ab
3 changed files with 45 additions and 50 deletions

View File

@ -1,8 +1,8 @@
DROP DATABASE IF EXISTS `pig`;
CREATE DATABASE `pig` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
CREATE DATABASE `pig` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
SET NAMES utf8;
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
USE `pig`;

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
DROP DATABASE IF EXISTS `pig_job`;
CREATE DATABASE `pig_job` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
CREATE DATABASE `pig_job` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
USE pig_job;