Skip to content

Commit abb0138

Browse files
Fix up more bigint mappings.
As some of these were in the vendor copy of the main config file, people upgrading will have to make the same changes in their own config/codegenerator.php.
1 parent 6adf233 commit abb0138

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

config/codegenerator.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,8 @@
597597
'date' => 'date',
598598
'datetime' => 'dateTime',
599599
'datetimetz' => 'dateTimeTz',
600-
'biginteger' => 'bigIncrements',
601-
'bigint' => 'bigIncrements',
600+
'biginteger' => 'bigInteger',
601+
'bigint' => 'bigInteger',
602602
'tinyblob' => 'binary',
603603
'mediumblob' => 'binary',
604604
'blob' => 'binary',
@@ -661,6 +661,7 @@
661661
'dateTime' => 'text',
662662
'dateTimeTz' => 'text',
663663
'bigIncrements' => 'number',
664+
'bigInteger' => 'number',
664665
'binary' => 'textarea',
665666
'boolean' => 'checkbox',
666667
'decimal' => 'number',

src/Support/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public static function getEloquentToHtmlMap()
224224
'date' => 'text',
225225
'dateTime' => 'text',
226226
'dateTimeTz' => 'text',
227-
'bigIncrements' => 'number',
227+
'bigInteger' => 'number',
228228
'bigIncrements' => 'number',
229229
'binary' => 'textarea',
230230
'boolean' => 'checkbox',

0 commit comments

Comments
 (0)