prospector/commitdb/postgres.py
def reset(self):
        """
        Resets the database by dropping its tables and recreating them afresh.
        If the database does not exist, or any tables are missing, they
        are created.
        """

        if not self.connection:
            raise Exception("Invalid connection")

        self._run_sql_script("ddl/commit.sql")
        self._run_sql_script("ddl/users.sql")

        Resets the database by dropping its tables and recreating them afresh.
        If the database does not exist, or any tables are missing, they
        are created.
        
Resets the database by dropping its tables and recreating them afresh.
If the database does not exist, or any tables are missing, they
are created.
Resets the database by dropping its tables and recreating them afresh . If the database does not exist or any tables are missing they are created .
def reset(self):
        if not self.connection:
            raise Exception("Invalid connection")
        self._run_sql_script("ddl/commit.sql")
        self._run_sql_script("ddl/users.sql")
def reset ( self ) : if not self . connection : raise Exception ( "Invalid connection" ) self . _run_sql_script ( "ddl/commit.sql" ) self . _run_sql_script ( "ddl/users.sql" )
Resets the database by dropping its tables and recreating them afresh.
Resets the database by dropping its tables and recreating them afresh .
"""
        Resets the database by dropping its tables and recreating them afresh.
        If the database does not exist, or any tables are missing, they
        are created.
        """
self