'Empty (only) the tables we loaded fixtures into, then commit.'

@classmethod
def _fixture_teardown(cls):

    if (hasattr(cls, 'fixtures') and getattr(cls, '_fb_should_teardown_fixtures', True)):
        for db in cls._databases():
            tables = tables_used_by_fixtures(cls.fixtures, using=db)
            if tables:
                connection = connections[db]
                cursor = connection.cursor()
                if uses_mysql(connection):
                    cursor.execute('SET    FOREIGN_KEY_CHECKS=0')
                    for table in tables:
                        cursor.execute(('TRUNCATE    `%s`' % table))
                    cursor.execute('SET    FOREIGN_KEY_CHECKS=1')
                else:
                    for table in tables:
                        cursor.execute(('DELETE    FROM    %s' % table))
            transaction.commit(using=db)
