def reset_db(cursor): #cursor.execute("DELETE FROM directory.datasource") #cursor.execute("DELETE FROM directory.entitytype") trend_schema.reset(cursor) cursor.execute("DELETE FROM transform.function_set") cursor.execute("DELETE FROM transform.function_mapping") cursor.execute("DELETE FROM transform.state") cursor.execute("DELETE FROM directory.entitytype CASCADE")
def reset_schema(self, cursor): schema.reset(cursor)