This commit is contained in:
2025-06-23 15:20:43 +05:00
parent df985789f1
commit 571b422454
7 changed files with 349 additions and 3 deletions

View File

@@ -5,9 +5,9 @@
**completed**
**cancelled**
Schema::getColumnListing('loan_paid_off_letter_orders')
Schema::getColumnListing('card_pins')
$a = collect(Schema::getColumns('loan_paid_off_letter_orders'))->map(fn ($column) => [
$a = collect(Schema::getColumns('card_pins'))->map(fn ($column) => [
'name' => $column['name'],
'type' => ($column['nullable'] ? 'null|' : '') . dbTypeToPhp($column['type']),
])->pluck('type', 'name')