Int to bigint

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

    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
    Member
    • Mar 2014
    • 8453

    #2
    Hi,

    You need to add in entityDefs for your field:

    "dbType": "bigint"
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    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
        Member
        • Mar 2014
        • 8453

        #4
        Mat,

        I suggest creating a case on the customer portal, our support can change the type of an existing Integer field.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        Working...