protected function hasOldTables() {
        if(!file_exists(ASSETS_PATH.'/.codeBankMigrated')) {
            $tables=DB::tableList();
            if(array_key_exists('snippits', $tables) && array_key_exists('snippit_search', $tables)) {
                return true;
            }else {
                touch(ASSETS_PATH.'/.codeBankMigrated');
            }
        }
        
        return false;
    }