Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
feat: allow gh-ost to run on mysql 5.6 (#10852)
p0nycc064196716d
diff --git a/frontend/src/utils/v1/database.ts b/frontend/src/utils/v1/database.tsindex 3b6e7ec978..a2f5250f81 100644--- a/frontend/src/utils/v1/database.ts+++ b/frontend/src/utils/v1/database.ts@@ -271,7 +271,7 @@ export function filterDatabaseV1ByKeyword(return false;}-export const MIN_GHOST_SUPPORT_MYSQL_VERSION = "5.7.0";+export const MIN_GHOST_SUPPORT_MYSQL_VERSION = "5.6.0";export function allowGhostMigrationV1(databaseList: ComposedDatabase[]diff --git a/go.mod b/go.modindex 58eb9d06ed..2ed9062d2a 100644--- a/go.mod+++ b/go.mod@@ -300,7 +300,7 @@ require (// fix potential security issue(CVE-2020-26160) introduced by indirect dependency.replace github.com/dgrijalva/jwt-go => github.com/form3tech-oss/jwt-go v3.2.6-0.20210809144907-32ab6a8243d7+incompatible-replace github.com/github/gh-ost => github.com/bytebase/gh-ost2 v0.0.0-20240105023521-266224952c72+replace github.com/github/gh-ost => github.com/bytebase/gh-ost2 v0.0.0-20240226063900-2a717ebc4d9creplace github.com/pingcap/tidb => github.com/bytebase/tidb2 v0.0.0-20231129002249-5bbb6bb83940diff --git a/go.sum b/go.sumindex 62fc1a157e..341abbb379 100644--- a/go.sum+++ b/go.sum@@ -144,8 +144,8 @@ github.com/bsm/gomega v1.27.10 h1:yeMWxP2pV2fG3FgAODIY8EiRE3dy0aeFYt4l7wh6yKA=github.com/bsm/gomega v1.27.10/go.mod h1:JyEr/xRbxbtgWNi8tIEVPUYZ5Dzef52k01W3YH0H+O0=github.com/bytebase/antlr/v4 v4.0.0-20231103101006-5fe1a93b199f h1:5O8DZOEloYvnAZIdHb31MT9L1Xn163rWlZqRsKqTEFM=github.com/bytebase/antlr/v4 v4.0.0-20231103101006-5fe1a93b199f/go.mod h1:pfChB/xh/Unjila75QW7+VU4TSnWnnk9UTnmpPaOR2g=-github.com/bytebase/gh-ost2 v0.0.0-20240105023521-266224952c72 h1:6cSsGXPhm4/N4xoMc+yHaria2925wjzJ3mr9B6txF9I=-github.com/bytebase/gh-ost2 v0.0.0-20240105023521-266224952c72/go.mod h1:VRPqaDM7UYxJbcCtQkjBcNkxW17p6LJJdkM/nYwQhqg=+github.com/bytebase/gh-ost2 v0.0.0-20240226063900-2a717ebc4d9c h1:1pT/pMN5AlCtC5Imu043SVgXlccikv0ve9PW3VhgHHE=+github.com/bytebase/gh-ost2 v0.0.0-20240226063900-2a717ebc4d9c/go.mod h1:VRPqaDM7UYxJbcCtQkjBcNkxW17p6LJJdkM/nYwQhqg=github.com/bytebase/go-lsp v0.0.0-20240130071507-c04b5c75010c h1:W832GNANCst4C6TgYbQnKKxbuMZKQxTD4++b3HOuzBo=github.com/bytebase/go-lsp v0.0.0-20240130071507-c04b5c75010c/go.mod h1:SULmZY7YNBsvNiQbrb/BEDdEJ84TGnfyUQxaHt8t8rY=github.com/bytebase/go-obo v0.0.0-20231026081615-705a7fffbfd2 h1:nEHZi8S7PHT4GxP9GfJiuhO8KkYcHmePvy5BfiYxwNk=