-
-
Notifications
You must be signed in to change notification settings - Fork 539
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
[sea-orm-cli] generate entity prints columns info with respect to --date-time-crate
option
#869
Labels
good first issue
Good for newcomers
Comments
billy1624
changed the title
Generate entity prints columns info with respect to
[sea-orm-cli] generate entity prints columns info with respect to Jul 13, 2022
--date-time-crate
option--date-time-crate
option
Hi @billy1624 I would like to work on this. |
Hi @anshulxyz, welcome! Please go ahead! Feel free to ping me if you need any help :) |
I'm so sorry about this bug 🙈 It was in the back of my mind but I think I forgot about it. |
Hey @nahuakang, it's not your fault! I should have catch that during the review phase loll |
anshulxyz
added a commit
to anshulxyz/sea-orm
that referenced
this issue
Jul 25, 2022
1 task
billy1624
pushed a commit
that referenced
this issue
Jul 26, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation
Generating entity will prints the progress and column info. However, it does not respect the
--date-time-crate
option introduce in PR:sea-orm-cli
to generate code for time crate #724Proposed Solutions
get_info
method takesDateTimeCrate
enum and pass it ontoget_rs_type
method (now hard coded asDateTimeCrate::Chrono
.sea-orm/sea-orm-codegen/src/entity/column.rs
Lines 167 to 181 in c949a33
The text was updated successfully, but these errors were encountered: