4 lines
388 B
PHP
4 lines
388 B
PHP
<?php
|
|
require __DIR__.'/boot-QA.php';
|
|
$rows=[];foreach(App\Models\ExistingBusiness::whereIn('status',['draft','needs_information'])->get()as$b){try{$payload=$b->payload;$decryptable=true;}catch(Illuminate\Contracts\Encryption\DecryptException){$decryptable=false;}$rows[]=['id'=>$b->id,'owner'=>$b->owner_user_id,'decryptable_with_QA_key'=>$decryptable];}echo json_encode($rows).PHP_EOL;
|