Skip to content

feat: use char(36) for uuid representation in mysql - #7853

Merged
imnotjames merged 1 commit into
typeorm:masterfrom
imnotjames:feat/7228/uuid-char-length
Jul 11, 2021
Merged

imnotjames merged 1 commit into
typeorm:masterfrom
imnotjames:feat/7228/uuid-char-length

Conversation

@imnotjames

@imnotjames imnotjames commented Jul 7, 2021 •

Copy link
Copy Markdown
Contributor

Description of change

uses CHAR(36) for all uuid types in MySQL.

fixes #7228

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • npm run lint passes with this change
  • npm run test passes with this change
  • This pull request links relevant issues as Fixes #0000
  • There are new or updated unit tests validating the change
  • Documentation has been updated to reflect this change
  • The new commits follow conventions explained in CONTRIBUTING.md

@imnotjames
imnotjames force-pushed the feat/7228/uuid-char-length branch 3 times, most recently from bace24a to fbe6fb5 Compare July 7, 2021 03:49
@imnotjames
imnotjames marked this pull request as draft July 7, 2021 04:58
@imnotjames
imnotjames force-pushed the feat/7228/uuid-char-length branch from fbe6fb5 to d91e7d4 Compare July 7, 2021 05:04
@imnotjames
imnotjames force-pushed the feat/7228/uuid-char-length branch from d91e7d4 to de4644a Compare July 7, 2021 08:31
@imnotjames
imnotjames marked this pull request as ready for review July 7, 2021 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

@Column({ type: "uuid" }) should be varchar(36) on MySQL instead of varchar(255)

1 participant