Created
October 12, 2021 20:48
-
-
Save uzbekdev1/b89a1018943ef7238c927f905fc73f87 to your computer and use it in GitHub Desktop.
Postgresql uuid generate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO "Table"("Id") select uuid_generate_v4() from public."Logs"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment