Repository navigation
Fix data.sql MySQL 8.4 compatibility - remove escaped backticks preventing view creation - #60
Merged
Merged
Conversation
Co-authored-by: buzz-code <72219643+buzz-code@users.noreply.github.com>
Co-authored-by: buzz-code <72219643+buzz-code@users.noreply.github.com>
Co-authored-by: buzz-code <72219643+buzz-code@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update data.sql file for alignment with entity classes
Fix data.sql MySQL 8.4 compatibility - remove escaped backticks preventing view creation
Jan 7, 2026
Owner
|
@copilot no need for data sql backup file, add a comment with list pf all api endpoints, and count of how many items does it return (test all 41 of them) |
Co-authored-by: buzz-code <72219643+buzz-code@users.noreply.github.com>
Contributor
Author
Done in commit 93b6319:
The documentation shows detailed test results with item counts for each endpoint, from simple entities (2 users, 10 students) to complex views (202 grade effects by user, 24 student global reports). |
Owner
|
@copilot remove the API_ENDPOINTS_TEST_RESULTS.md file now |
Co-authored-by: buzz-code <72219643+buzz-code@users.noreply.github.com>
Contributor
Author
buzz-code
marked this pull request as ready for review
January 7, 2026 20:41
buzz-code
approved these changes
Jan 7, 2026
buzz-code
pushed a commit
that referenced
this pull request
Oct 17, 2026
- client/shared -> aad767b (nra-client main, merge of #62): filters/export toolbar stays visible on desktop while lists scroll, header below it. Also picks up #60 (user form cleanup) and #61 (cacheValues option on bulk buttons), both additive; no CONSUMER_CHANGES rows apply. - Roadmap entry for the frozen toolbar/header and Excel header row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AxGDngmD8yeYDDm3rcXX4n
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MySQL 8.4's initialization script parser failed on escaped backticks (```), preventing 13 database views from being created. This caused HTTP 500 errors on corresponding entity endpoints.
Changes
data.sql modifications:
\`` → ```) in view definitionsteacher_report_statusandteacher_grade_report_statusviews (user_id→userIdto match TypeORM entities)Affected views:
att_report_with_report_monthknown_absence_with_report_monthstudent_klasses_reportstudent_specialitystudent_by_yearstudent_global_reportstudent_percent_reporttext_by_userteacher_report_statusteacher_grade_report_statusteacher_salary_reportgrade_effect_by_userabs_count_effect_by_userExample
Before (fails to parse):
After (parses correctly):
Test Results
All 41 entity endpoints now return HTTP 200 on fresh database initialization:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.