Int to bigint

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adrianalin
    Member
    • Sep 2017
    • 48

    #1

    Int to bigint


    hello



    If I have a new row created and the data type is set to intiger how can I set it up for theta specific row in the db to be a set as a bigintiger instead of intiger, I can change it manually in the database but from time to time it’s get’s switches back to default intiger. I really need to use the bigintiger for this row.
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9644

    #2
    Hi,

    You need to add in entityDefs for your field:

    "dbType": "bigint"

    Comment

    • MatLudlam
      Senior Member
      • Aug 2016
      • 288

      #3
      Hi yuri is this still the best solution to this issue? I have the need to store an integer from 0 to 2^32-1 or about 4 billion.

      Thanks

      Comment

      • yuri
        EspoCRM product developer
        • Mar 2014
        • 9644

        #4
        Mat,

        I suggest creating a case on the customer portal, our support can change the type of an existing Integer field.

        Comment

        Working...