From f6507c86dd73834cdbee79458800ed44e23cde09 Mon Sep 17 00:00:00 2001 From: Wu Clan Date: Sun, 15 Mar 2026 19:04:23 +0800 Subject: [PATCH] Add destroy SQL scripts for OAuth2 plugin --- backend/plugin/oauth2/sql/mysql/destroy.sql | 1 + backend/plugin/oauth2/sql/mysql/destroy_snowflake.sql | 1 + backend/plugin/oauth2/sql/postgresql/destroy.sql | 1 + backend/plugin/oauth2/sql/postgresql/destroy_snowflake.sql | 1 + 4 files changed, 4 insertions(+) create mode 100644 backend/plugin/oauth2/sql/mysql/destroy.sql create mode 100644 backend/plugin/oauth2/sql/mysql/destroy_snowflake.sql create mode 100644 backend/plugin/oauth2/sql/postgresql/destroy.sql create mode 100644 backend/plugin/oauth2/sql/postgresql/destroy_snowflake.sql diff --git a/backend/plugin/oauth2/sql/mysql/destroy.sql b/backend/plugin/oauth2/sql/mysql/destroy.sql new file mode 100644 index 00000000..4f5d23a9 --- /dev/null +++ b/backend/plugin/oauth2/sql/mysql/destroy.sql @@ -0,0 +1 @@ +drop table if exists sys_user_social; diff --git a/backend/plugin/oauth2/sql/mysql/destroy_snowflake.sql b/backend/plugin/oauth2/sql/mysql/destroy_snowflake.sql new file mode 100644 index 00000000..4f5d23a9 --- /dev/null +++ b/backend/plugin/oauth2/sql/mysql/destroy_snowflake.sql @@ -0,0 +1 @@ +drop table if exists sys_user_social; diff --git a/backend/plugin/oauth2/sql/postgresql/destroy.sql b/backend/plugin/oauth2/sql/postgresql/destroy.sql new file mode 100644 index 00000000..4f5d23a9 --- /dev/null +++ b/backend/plugin/oauth2/sql/postgresql/destroy.sql @@ -0,0 +1 @@ +drop table if exists sys_user_social; diff --git a/backend/plugin/oauth2/sql/postgresql/destroy_snowflake.sql b/backend/plugin/oauth2/sql/postgresql/destroy_snowflake.sql new file mode 100644 index 00000000..4f5d23a9 --- /dev/null +++ b/backend/plugin/oauth2/sql/postgresql/destroy_snowflake.sql @@ -0,0 +1 @@ +drop table if exists sys_user_social;