From 0a319b31c85645ea565f519fac4019ec21929258 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期二, 02 四月 2024 16:57:17 +0800
Subject: [PATCH] update 优化 移除删表语句 用户自行处理

---
 script/sql/ry_vue_5.X.sql |   23 -----------------------
 1 files changed, 0 insertions(+), 23 deletions(-)

diff --git a/script/sql/ry_vue_5.X.sql b/script/sql/ry_vue_5.X.sql
index 19d7242..e03e461 100644
--- a/script/sql/ry_vue_5.X.sql
+++ b/script/sql/ry_vue_5.X.sql
@@ -1,7 +1,6 @@
 -- ----------------------------
 -- 绗笁鏂瑰钩鍙版巿鏉冭〃
 -- ----------------------------
-drop table if exists sys_social;
 create table sys_social
 (
     id                 bigint           not null        comment '涓婚敭',
@@ -40,7 +39,6 @@
 -- ----------------------------
 -- 绉熸埛琛�
 -- ----------------------------
-drop table if exists sys_tenant;
 create table sys_tenant
 (
     id                bigint(20)    not null        comment 'id',
@@ -77,7 +75,6 @@
 -- ----------------------------
 -- 绉熸埛濂楅琛�
 -- ----------------------------
-drop table if exists sys_tenant_package;
 create table sys_tenant_package (
     package_id              bigint(20)     not null    comment '绉熸埛濂楅id',
     package_name            varchar(20)                comment '濂楅鍚嶇О',
@@ -98,7 +95,6 @@
 -- ----------------------------
 -- 1銆侀儴闂ㄨ〃
 -- ----------------------------
-drop table if exists sys_dept;
 create table sys_dept (
     dept_id           bigint(20)      not null                   comment '閮ㄩ棬id',
     tenant_id         varchar(20)     default '000000'           comment '绉熸埛缂栧彿',
@@ -139,7 +135,6 @@
 -- ----------------------------
 -- 2銆佺敤鎴蜂俊鎭〃
 -- ----------------------------
-drop table if exists sys_user;
 create table sys_user (
     user_id           bigint(20)      not null                   comment '鐢ㄦ埛ID',
     tenant_id         varchar(20)     default '000000'           comment '绉熸埛缂栧彿',
@@ -175,7 +170,6 @@
 -- ----------------------------
 -- 3銆佸矖浣嶄俊鎭〃
 -- ----------------------------
-drop table if exists sys_post;
 create table sys_post
 (
     post_id       bigint(20)      not null                   comment '宀椾綅ID',
@@ -205,7 +199,6 @@
 -- ----------------------------
 -- 4銆佽鑹蹭俊鎭〃
 -- ----------------------------
-drop table if exists sys_role;
 create table sys_role (
     role_id              bigint(20)      not null                   comment '瑙掕壊ID',
     tenant_id            varchar(20)     default '000000'           comment '绉熸埛缂栧彿',
@@ -236,7 +229,6 @@
 -- ----------------------------
 -- 5銆佽彍鍗曟潈闄愯〃
 -- ----------------------------
-drop table if exists sys_menu;
 create table sys_menu (
     menu_id           bigint(20)      not null                   comment '鑿滃崟ID',
     menu_name         varchar(50)     not null                   comment '鑿滃崟鍚嶇О',
@@ -413,7 +405,6 @@
 -- ----------------------------
 -- 6銆佺敤鎴峰拰瑙掕壊鍏宠仈琛�  鐢ㄦ埛N-1瑙掕壊
 -- ----------------------------
-drop table if exists sys_user_role;
 create table sys_user_role (
     user_id   bigint(20) not null comment '鐢ㄦ埛ID',
     role_id   bigint(20) not null comment '瑙掕壊ID',
@@ -430,7 +421,6 @@
 -- ----------------------------
 -- 7銆佽鑹插拰鑿滃崟鍏宠仈琛�  瑙掕壊1-N鑿滃崟
 -- ----------------------------
-drop table if exists sys_role_menu;
 create table sys_role_menu (
     role_id   bigint(20) not null comment '瑙掕壊ID',
     menu_id   bigint(20) not null comment '鑿滃崟ID',
@@ -527,7 +517,6 @@
 -- ----------------------------
 -- 8銆佽鑹插拰閮ㄩ棬鍏宠仈琛�  瑙掕壊1-N閮ㄩ棬
 -- ----------------------------
-drop table if exists sys_role_dept;
 create table sys_role_dept (
     role_id   bigint(20) not null comment '瑙掕壊ID',
     dept_id   bigint(20) not null comment '閮ㄩ棬ID',
@@ -537,7 +526,6 @@
 -- ----------------------------
 -- 9銆佺敤鎴蜂笌宀椾綅鍏宠仈琛�  鐢ㄦ埛1-N宀椾綅
 -- ----------------------------
-drop table if exists sys_user_post;
 create table sys_user_post
 (
     user_id   bigint(20) not null comment '鐢ㄦ埛ID',
@@ -553,7 +541,6 @@
 -- ----------------------------
 -- 10銆佹搷浣滄棩蹇楄褰�
 -- ----------------------------
-drop table if exists sys_oper_log;
 create table sys_oper_log (
     oper_id           bigint(20)      not null                   comment '鏃ュ織涓婚敭',
     tenant_id         varchar(20)     default '000000'           comment '绉熸埛缂栧彿',
@@ -583,7 +570,6 @@
 -- ----------------------------
 -- 11銆佸瓧鍏哥被鍨嬭〃
 -- ----------------------------
-drop table if exists sys_dict_type;
 create table sys_dict_type
 (
     dict_id          bigint(20)      not null                   comment '瀛楀吀涓婚敭',
@@ -615,7 +601,6 @@
 -- ----------------------------
 -- 12銆佸瓧鍏告暟鎹〃
 -- ----------------------------
-drop table if exists sys_dict_data;
 create table sys_dict_data
 (
     dict_code        bigint(20)      not null                   comment '瀛楀吀缂栫爜',
@@ -675,7 +660,6 @@
 -- ----------------------------
 -- 13銆佸弬鏁伴厤缃〃
 -- ----------------------------
-drop table if exists sys_config;
 create table sys_config (
     config_id         bigint(20)      not null                   comment '鍙傛暟涓婚敭',
     tenant_id         varchar(20)     default '000000'           comment '绉熸埛缂栧彿',
@@ -702,7 +686,6 @@
 -- ----------------------------
 -- 14銆佺郴缁熻闂褰�
 -- ----------------------------
-drop table if exists sys_logininfor;
 create table sys_logininfor (
     info_id        bigint(20)     not null                  comment '璁块棶ID',
     tenant_id      varchar(20)    default '000000'          comment '绉熸埛缂栧彿',
@@ -725,7 +708,6 @@
 -- ----------------------------
 -- 17銆侀�氱煡鍏憡琛�
 -- ----------------------------
-drop table if exists sys_notice;
 create table sys_notice (
     notice_id         bigint(20)      not null                   comment '鍏憡ID',
     tenant_id         varchar(20)     default '000000'           comment '绉熸埛缂栧彿',
@@ -752,7 +734,6 @@
 -- ----------------------------
 -- 18銆佷唬鐮佺敓鎴愪笟鍔¤〃
 -- ----------------------------
-drop table if exists gen_table;
 create table gen_table (
     table_id          bigint(20)      not null                   comment '缂栧彿',
     data_name         varchar(200)    default ''                 comment '鏁版嵁婧愬悕绉�',
@@ -783,7 +764,6 @@
 -- ----------------------------
 -- 19銆佷唬鐮佺敓鎴愪笟鍔¤〃瀛楁
 -- ----------------------------
-drop table if exists gen_table_column;
 create table gen_table_column (
     column_id         bigint(20)      not null                   comment '缂栧彿',
     table_id          bigint(20)                                 comment '褰掑睘琛ㄧ紪鍙�',
@@ -814,7 +794,6 @@
 -- ----------------------------
 -- OSS瀵硅薄瀛樺偍琛�
 -- ----------------------------
-drop table if exists sys_oss;
 create table sys_oss (
     oss_id          bigint(20)   not null                   comment '瀵硅薄瀛樺偍涓婚敭',
     tenant_id       varchar(20)           default '000000'  comment '绉熸埛缂栧彿',
@@ -834,7 +813,6 @@
 -- ----------------------------
 -- OSS瀵硅薄瀛樺偍鍔ㄦ�侀厤缃〃
 -- ----------------------------
-drop table if exists sys_oss_config;
 create table sys_oss_config (
     oss_config_id   bigint(20)    not null                  comment '涓诲缓',
     tenant_id       varchar(20)             default '000000'comment '绉熸埛缂栧彿',
@@ -868,7 +846,6 @@
 -- ----------------------------
 -- 绯荤粺鎺堟潈琛�
 -- ----------------------------
-drop table if exists sys_client;
 create table sys_client (
     id                  bigint(20)    not null            comment 'id',
     client_id           varchar(64)   default null        comment '瀹㈡埛绔痠d',

--
Gitblit v1.9.3