laravellaraadmin

LaraAdmin how to use bigint field type


I'm building some application based on LaraAdmin crud generator. I need a field to be a BigInt since the possible values are bigger than a normal Integer. How should I achieve that in order to not make the system crash?


Solution

  • Because it is stored already as an integer, simply change the database type to biginteger and it'll be fine as they both store numerical values.