Commit 50fce548 authored by acpaquette's avatar acpaquette Committed by GitHub
Browse files

Merge pull request #323 from jlaura/clear

Fixes issues where clear is a nx call
parents 353cd88e a7737d0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1607,7 +1607,7 @@ AND i1.id < i2.id""".format(query_string)

        return obj

    def clear(self, tables=None):
    def clear_db(self, tables=None):
        """
        Truncate all of the database tables and reset any
        autoincrement columns to start with 1.