EctoTablestore.Migration.drop_if_exists

You're seeing just the function drop_if_exists, go back to EctoTablestore.Migration module for more information.

Drops a table or index if it exists.

Does not raise an error if the specified table or index does not exist.

Examples

drop_if_exists table("posts")
drop_if_exists secondary_index("posts", "posts_owner")
drop_if_exists search_index("posts", "posts_index")