From 2a6a74ead57a56db6a2458516a0cf0147a747e22 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: Mon, 16 May 2022 10:22:17 +0800 Subject: [PATCH] fix 修复编辑报错 去除 NOT NULL 判断 兼容 nacos 低版本 --- sql/ry_seata_20210128.sql | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/sql/ry_seata_20210128.sql b/sql/ry_seata_20210128.sql index 4662eb2..80aeeff 100644 --- a/sql/ry_seata_20210128.sql +++ b/sql/ry_seata_20210128.sql @@ -1,3 +1,12 @@ +DROP DATABASE IF EXISTS `ry-seata`; + +CREATE DATABASE `ry-seata` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; + +SET NAMES utf8mb4; +SET FOREIGN_KEY_CHECKS = 0; + +USE `ry-seata`; + -- -------------------------------- The script used when storeMode is 'db' -------------------------------- -- the table to store GlobalSession data CREATE TABLE IF NOT EXISTS `global_table` -- Gitblit v1.9.3