@@ -28,6 +28,7 @@ import {
2828 dropAsyncReplicationTemplate ,
2929 dropExternalTableTemplate ,
3030 dropTableIndex ,
31+ dropTableTemplate ,
3132 dropTopicTemplate ,
3233 dropViewTemplate ,
3334 selectQueryTemplate ,
@@ -100,6 +101,7 @@ const bindActions = (
100101 alterAsyncReplication : inputQuery ( alterAsyncReplicationTemplate , 'script' ) ,
101102 dropAsyncReplication : inputQuery ( dropAsyncReplicationTemplate , 'script' ) ,
102103 alterTable : inputQuery ( alterTableTemplate , 'script' ) ,
104+ dropTable : inputQuery ( dropTableTemplate , 'script' ) ,
103105 selectQuery : inputQuery ( selectQueryTemplate ) ,
104106 upsertQuery : inputQuery ( upsertQueryTemplate ) ,
105107 createExternalTable : inputQuery ( createExternalTableTemplate , 'script' ) ,
@@ -166,6 +168,7 @@ export const getActions =
166168 [ copyItem ] ,
167169 [
168170 { text : i18n ( 'actions.alterTable' ) , action : actions . alterTable } ,
171+ { text : i18n ( 'actions.dropTable' ) , action : actions . dropTable } ,
169172 { text : i18n ( 'actions.selectQuery' ) , action : actions . selectQuery } ,
170173 { text : i18n ( 'actions.upsertQuery' ) , action : actions . upsertQuery } ,
171174 { text : i18n ( 'actions.addTableIndex' ) , action : actions . addTableIndex } ,
0 commit comments