Penambahan thema pada Menu Laporan per pintu pos

This commit is contained in:
pand03
2026-04-16 17:38:48 +07:00
parent 67f6604f89
commit c73adb3c6b
8 changed files with 652 additions and 118 deletions

View File

@@ -89,13 +89,19 @@ public function run()
private function checkPgcrypto()
{
$result = DB::select("
SELECT 1
FROM pg_extension
WHERE extname = 'pgcrypto'
");
// $result = DB::select("
// SELECT 1
// FROM pg_extension
// WHERE extname = 'pgcrypto'
// ");
return !empty($result);
// return !empty($result);
try {
DB::select("SELECT digest('test','sha1')");
return true;
} catch (\Exception $e) {
return false;
}
}
private function checkPegawaiColumns()