Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-sentry committed Sep 17, 2024
1 parent 27bc118 commit a324c75
Showing 1 changed file with 32 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,35 @@ def forwards_ops(self) -> Sequence[SqlOperation]:
]

def backwards_ops(self) -> Sequence[SqlOperation]:
return []
return [
operations.DropTable(
storage_set=self.storage_set_key,
table_name=self.str_mv,
target=OperationTarget.LOCAL,
),
operations.DropTable(
storage_set=self.storage_set_key,
table_name=self.str_local_table,
target=OperationTarget.LOCAL,
),
operations.DropTable(
storage_set=self.storage_set_key,
table_name=self.str_dist_table,
target=OperationTarget.DISTRIBUTED,
),
operations.DropTable(
storage_set=self.storage_set_key,
table_name=self.num_mv,
target=OperationTarget.LOCAL,
),
operations.DropTable(
storage_set=self.storage_set_key,
table_name=self.num_local_table,
target=OperationTarget.LOCAL,
),
operations.DropTable(
storage_set=self.storage_set_key,
table_name=self.num_dist_table,
target=OperationTarget.DISTRIBUTED,
),
]

0 comments on commit a324c75

Please sign in to comment.