Support more DBs in syncer.

This commit is contained in:
Yang Luo
2021-12-24 22:53:35 +08:00
parent cc8c9b32ef
commit e79e3c36d0
12 changed files with 100 additions and 10 deletions

View File

@ -58,6 +58,7 @@ class SyncerListPage extends React.Component {
port: 3306,
user: "root",
password: "123456",
databaseType: "mysql",
database: "dbName",
table: "tableName",
tableColumns: [],
@ -176,6 +177,13 @@ class SyncerListPage extends React.Component {
width: '120px',
sorter: (a, b) => a.password.localeCompare(b.password),
},
{
title: i18next.t("syncer:Database type"),
dataIndex: 'databaseType',
key: 'databaseType',
width: '120px',
sorter: (a, b) => a.databaseType.localeCompare(b.databaseType),
},
{
title: i18next.t("syncer:Database"),
dataIndex: 'database',