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

Comment support for Prisma migrate #4818

Open
Tracked by #16311
tlonist-sang opened this issue Dec 30, 2020 · 1 comment
Open
Tracked by #16311

Comment support for Prisma migrate #4818

tlonist-sang opened this issue Dec 30, 2020 · 1 comment
Labels
domain/psl Issue in the "PSL" domain: Prisma Schema Language domain/schema Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc. kind/feature A request for a new feature. topic: comments topic: database-functionality topic: migrate topic: schema

Comments

@tlonist-sang
Copy link

Problem

It will be very helpful if [prisma migrate] supports [comments] for table fields. Often times, some API responses have overly abbreviated or ambiguous expressions for data fields, necessitating an explanation while creating a new table.

Suggested solution

image
It will be good if this functionality could be supported via annotations.

Alternatives

Additional context

I hope this feature could be smoothly operated on already existing tables as well, without having to undergo any deletion or edition on the existing database. Since [migrate] is a very powerful command, how about adding a [comment] command to separate the concerns?

image

@pantharshit00 pantharshit00 added kind/feature A request for a new feature. domain/schema Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc. topic: migrate labels Jan 1, 2021
@yi-ge
Copy link

yi-ge commented Apr 13, 2021

good idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain/psl Issue in the "PSL" domain: Prisma Schema Language domain/schema Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc. kind/feature A request for a new feature. topic: comments topic: database-functionality topic: migrate topic: schema
Projects
None yet
Development

No branches or pull requests

4 participants