Rake task gitlab:db:drop_tables to also drop views
What does this MR do?
We've recently added a view to the database. The intention behind gitlab:db:drop_tables
is to end up in a pristine database state where only an empty schema_migrations
table exists. Therefore, we'll have to expand it to drop views, too.
This is what the MR does:
- Add support to drop views, too
- Add specs to cover the rake task (there haven't been any).
Edited by Andreas Brandl