selectOne('SELECT current_database() AS database, inet_server_port() AS port'); if ($target !== ['database'=>'stability_consumers_20261011_084534_test','port'=>55441]) throw new RuntimeException('QA only'); $db->beginTransaction(); $db->statement('SET TRANSACTION READ ONLY'); try { $b=app(App\Services\Mne\BusinessRepository::class)->find('172aa874-98fc-4bf6-b78f-d2e9a386d345'); echo json_encode(['state'=>$b->status,'version'=>$b->version_no,'public_url'=>$b->public_slug ? 'https://portal-investidor.test:18445/negocios/'.$b->public_slug : null],JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE); } finally { $db->rollBack(); }