src/bundles/Database/Migrator.php
public static function hard_reset( $database = null )
	{
		$tables = DB::fetch( 'SHOW TABLES', array(), $database, array( 'assoc' ) );
		
		foreach( $tables as $table )
		{
			DB::run( 'DROP TABLE IF EXISTS '.reset( $table ), array(), $database );
		}
	}
public static function hard_reset( $database = null )
	{
		$tables = DB::fetch( 'SHOW TABLES', array(), $database, array( 'assoc' ) );
		
		foreach( $tables as $table )
		{
			DB::run( 'DROP TABLE IF EXISTS '.reset( $table ), array(), $database );
		}
	}
public static function hard_reset ( $ database = null ) { $ tables = DB :: fetch ( 'SHOW TABLES' , array ( ) , $ database , array ( 'assoc' ) ) ; foreach ( $ tables as $ table ) { DB :: run ( 'DROP TABLE IF EXISTS ' . reset ( $ table ) , array ( ) , $ database ) ; } }
The hard reset method deletes all tables from the database

@param string 		$databse
The hard reset method deletes all tables from the database