You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by xi...@apache.org on 2021/11/01 03:15:45 UTC

[incubator-shenyu] branch master updated: [type:refactor] add upgrade guide doc. (#2287)

This is an automated email from the ASF dual-hosted git repository.

xiaoyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new d00e30b  [type:refactor] add upgrade guide doc. (#2287)
d00e30b is described below

commit d00e30b321bd39e871bbe6e423ab37a4c044f39d
Author: Qicz <qi...@gmail.com>
AuthorDate: Mon Nov 1 11:15:36 2021 +0800

    [type:refactor] add upgrade guide doc. (#2287)
    
    * [type:refactor] add upgrade guide doc.
    
    * format guide doc.
    
    * toggle ci again.
---
 script/2.4.1-upgrade-2.4.2.sql |  2 ++
 script/upgrade-guide.md        | 10 ++++++++++
 2 files changed, 12 insertions(+)

diff --git a/script/2.4.1-upgrade-2.4.2.sql b/script/2.4.1-upgrade-2.4.2.sql
index 9ca9899..be7612b 100644
--- a/script/2.4.1-upgrade-2.4.2.sql
+++ b/script/2.4.1-upgrade-2.4.2.sql
@@ -14,6 +14,8 @@
 -- See the License for the specific language governing permissions and
 -- limitations under the License.
 
+-- this file works for MySQL and PostgreSQL at the same time, can not use "`" syntax.
+
 -- upgrade plguin
 -- name & role
 UPDATE plugin SET role = 'Authentication' WHERE name = 'sign';
diff --git a/script/upgrade-guide.md b/script/upgrade-guide.md
new file mode 100644
index 0000000..925c0de
--- /dev/null
+++ b/script/upgrade-guide.md
@@ -0,0 +1,10 @@
+# Upgrade Guide
+
+> the file `*-upgrade-*.sql` works for MySQL and PostgreSQL at the same time. So can not use the "`" syntax.
+
+## To Shenyu Users
+
+- 2.4.1-upgrade-2.4.2.sql
+
+  > this file is the Shenyu upgrade sql from v2.4.1 to v2.4.2.
+