mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 22:20:30 +08:00
兼容mysql5.7
This commit is contained in:
parent
c6c19cb7da
commit
eff6421c4a
@ -132,7 +132,7 @@ export class CloudDBService extends BaseService {
|
|||||||
"SELECT table_name from information_schema.columns where table_name like 'func_%' group by table_name"
|
"SELECT table_name from information_schema.columns where table_name like 'func_%' group by table_name"
|
||||||
)
|
)
|
||||||
).map(e => {
|
).map(e => {
|
||||||
return e.TABLE_NAME;
|
return e.TABLE_NAME || e.table_name;
|
||||||
});
|
});
|
||||||
// 需要删除的云函数表
|
// 需要删除的云函数表
|
||||||
const deleteTables = allTables.filter(e => {
|
const deleteTables = allTables.filter(e => {
|
||||||
|
Loading…
Reference in New Issue
Block a user