Re: How to migrate column type from uuid to serial

From: Thomas Kellerer <shammat(at)gmx(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: How to migrate column type from uuid to serial
Date: 2020-10-07 14:06:53
Message-ID: 6fe03b17-f1ff-81e8-4ed1-72eb29d8d51d@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hemil Ruparel schrieb am 07.10.2020 um 16:02:
> Yes the id is stored as a uuid.

Then it should be declared with the data type uuid, which only needs 16 bytes.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Hemil Ruparel 2020-10-07 14:21:16 Re: How to migrate column type from uuid to serial
Previous Message Hemil Ruparel 2020-10-07 14:02:16 Re: How to migrate column type from uuid to serial