Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 prisma: Supports column data types more accurately #578

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

FunamaYukina
Copy link
Member

@FunamaYukina FunamaYukina commented Jan 27, 2025

Summary

While our PR for #572 previously supported only the following columns, we've enhanced it to provide more accurate support. For example, we now support columns like serial, uuid, and time

ss 2769

Support for added columns:

char
varchar
bit
varbit
uuid
xml
inet
citext
smallint
smallserial
serial
oid
bigserial
real
money
timestamptz
date
time
timetz
json

You can find the UUID and serial number within the cal.com data schema.
Preview: https://liam-erd-ncg6vs35h-route-06-core.vercel.app/erd/p/github.com/calcom/cal.com/blob/main/packages/prisma/schema.prisma?showMode=ALL_FIELDS&active=EventType

ss 2772

Related Issue

Changes

Testing

Other Information

@FunamaYukina FunamaYukina self-assigned this Jan 27, 2025
Copy link

changeset-bot bot commented Jan 27, 2025

🦋 Changeset detected

Latest commit: 2fe62a6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@liam-hq/db-structure Patch
@liam-hq/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@MH4GF MH4GF left a comment

Choose a reason for hiding this comment

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

Thanks!

@FunamaYukina
Copy link
Member Author

Thank you for your review! 💫

@FunamaYukina FunamaYukina added this pull request to the merge queue Jan 27, 2025
Merged via the queue into main with commit fb6ba6c Jan 27, 2025
13 checks passed
@FunamaYukina FunamaYukina deleted the prisma-supports-colums-data-types-more-accurately branch January 27, 2025 08:50
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