Skip to content

TypeORM: ID column to string to support UUID - #442

Merged
hlcianfagna merged 2 commits into
amo/typeormfrom
hlcianfagna/typeorm
May 7, 2024
Merged

hlcianfagna merged 2 commits into
amo/typeormfrom
hlcianfagna/typeorm

Conversation

@hlcianfagna

@hlcianfagna hlcianfagna commented May 3, 2024 •

Copy link
Copy Markdown
Contributor

About

Adjust example about that primary autogenerated keys with CrateDB are UUIDs, stored as strings.

References

This example uses those other dialect patches needed to make TypeORM compatible with CrateDB.

It is also stacked upon this one.

@amotl amotl changed the title UUID fixes TypeORM: UUID fixes May 6, 2024
@hlcianfagna hlcianfagna changed the title TypeORM: UUID fixes TypeORM: ID column to string to support UUID May 7, 2024
@hlcianfagna
hlcianfagna marked this pull request as ready for review May 7, 2024 09:35
@hlcianfagna
hlcianfagna requested a review from amotl May 7, 2024 09:35

@amotl amotl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hlcianfagna
hlcianfagna merged commit 908e022 into amo/typeorm May 7, 2024
@hlcianfagna
hlcianfagna deleted the hlcianfagna/typeorm branch May 7, 2024 11:56
amotl pushed a commit that referenced this pull request Mar 3, 2026
* Check PK data type to support uuid

* Reflect that id is now an uuid and not a number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants