Skip to content

Commit

Permalink
Add a query to drop the replication control table for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
rsh7 committed Jul 12, 2018
1 parent be8693d commit bca7940
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/testing.py
Expand Up @@ -93,6 +93,7 @@ def drop_tables(self):
connection.execute('DROP TABLE IF EXISTS musicbrainz.script CASCADE;')
connection.execute('DROP TABLE IF EXISTS musicbrainz.gender CASCADE;')
connection.execute('DROP TABLE IF EXISTS musicbrainz.artist_type CASCADE;')
connection.execute('DROP TABLE IF EXISTS musicbrainz.replication_control CASCADE;')

def drop_types(self):
with db.engine.connect() as connection:
Expand Down

0 comments on commit bca7940

Please sign in to comment.