兼容mysql5.7

This commit is contained in:
啊平 2023-03-23 09:25:30 +08:00
parent c6c19cb7da
commit eff6421c4a

View File

@ -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 => {