This commit is contained in:
2025-03-26 13:55:16 +05:00
parent 2785f4afdf
commit 619895cb6f
9 changed files with 292 additions and 3 deletions

View File

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