mirror of
https://github.com/dolthub/dolt.git
synced 2025-12-30 08:50:01 -06:00
bug fix
This commit is contained in:
@@ -878,6 +878,10 @@ func (root *rootValue) RenameTable(ctx context.Context, oldName, newName TableNa
|
||||
}
|
||||
|
||||
func (root *rootValue) RemoveTables(ctx context.Context, skipFKHandling bool, allowDroppingFKReferenced bool, tables ...TableName) (RootValue, error) {
|
||||
if len(tables) == 0 {
|
||||
return root, nil
|
||||
}
|
||||
|
||||
// TODO: support multiple schemas in same operation, or make an error
|
||||
tableMap, err := root.getTableMap(ctx, tables[0].Schema)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user