-
Notifications
You must be signed in to change notification settings - Fork 1
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
frontend: add category specific fields #63
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, LGTM. Nothing to say on the logic part, various comments on the style.
backend/src/models/comment.rs
Outdated
@@ -187,7 +195,7 @@ impl AdminComment { | |||
RETURNING * | |||
) | |||
SELECT i.id, i.entity_id, i.author, i.text, i.data, i.created_at, i.updated_at, i.moderated, i.version, | |||
e.display_name as entity_display_name, e.category_id | |||
e.display_name as entity_display_name, e.category_id as entity_category_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You didn't change regenerate the sqlx cache file. Go on the backend folder and run cargo sqlx prepare
.
ae90e08
to
ea8803a
Compare
d45bf54
to
25f8c34
Compare
No description provided.