I was integrating a payment gateway for my app when I noticed its maximum length of customer id string is 32. SIze of UUID is 36 (32 characters and 4 dashes). So I want to change the type of customer id to serial. The problem is by now, the column is being used at many places. How to migrate the column to serial without dropping the data?
- How to migrate column type from uuid to serial Hemil Ruparel
- Re: How to migrate column type from uuid to serial Adrian Klaver
- Re: How to migrate column type from uuid to seria... Adrian Klaver
- Re: How to migrate column type from uuid to s... Hemil Ruparel
- Re: How to migrate column type from uuid ... Thomas Kellerer
- Re: How to migrate column type from ... Hemil Ruparel
- Re: How to migrate column type f... Thomas Kellerer
- Re: How to migrate column ty... Hemil Ruparel
- Re: How to migrate column ty... Thomas Kellerer
- Re: How to migrate column ty... Hemil Ruparel
- Re: How to migrate column ty... Peter J. Holzer