mirror of
https://github.com/rekywhyd/WebGIS_PengentasanKemiskinan.git
synced 2026-07-10 03:13:08 +00:00
Memperbarui UI/UX
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
require 'vendor/autoload.php';
|
||||
$app = require_once 'bootstrap/app.php';
|
||||
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
|
||||
$kernel->bootstrap();
|
||||
|
||||
foreach (\App\Models\TempatIbadah::all() as $t) {
|
||||
if (!$t->kode_lapor) {
|
||||
$t->update(['kode_lapor' => \Illuminate\Support\Str::random(10)]);
|
||||
echo "Updated {$t->id} with {$t->kode_lapor}\n";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user