feat: Add option to show m2m tables

re #388

Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
This commit is contained in:
Pranav C
2021-07-29 15:22:27 +05:30
parent 73e2ff06f9
commit 8074c7b6e5
6 changed files with 36 additions and 7 deletions

View File

@@ -270,7 +270,7 @@ export default {
this.tables = (await this.$store.dispatch('sqlMgr/ActSqlOp', [{
dbAlias: this.db.meta.dbAlias,
env: this.$store.getters['project/GtrEnv']
}, 'tableList', { force: true }])).data.list
}, 'tableList', { force: true, includeM2M: true }])).data.list
},
async saveModels() {