Closed alexander-kuruvilla closed 3 months ago
The recent changes involve updating the database schema by altering several tables. Specifically, the timestamp
column has been dropped, and the time
column has been renamed to timestamp
with the DATETIME
data type. This change is intended to reduce confusion in handling timestamps.
Files | Change Summary |
---|---|
src/main/resources/db/migration/2004014.sql |
Series of ALTER TABLE statements: dropping timestamp columns and renaming time columns to timestamp with DATETIME data type. |
Objective (Issue #1678) | Addressed | Explanation |
---|---|---|
Rename time to timestamp in the database |
✅ | |
Update schema to avoid confusion with Calendar time |
✅ |
src/main/resources/db/migration/2004014.sql (15)
`2-2`: **Syntax and consistency check for `AudioContributionEvent` modifications.** The SQL statements for altering the `AudioContributionEvent` table are syntactically correct and consistent with the PR's objectives. --- `4-4`: **Syntax and consistency check for `AudioPeerReviewEvent` modifications.** The SQL statements for altering the `AudioPeerReviewEvent` table follow the same pattern as previous changes, ensuring consistency across table modifications. --- `6-6`: **Syntax and consistency check for `ImageContributionEvent` modifications.** These alterations are consistent and correct, aligning with the changes made in similar tables. --- `8-8`: **Syntax and consistency check for `LetterContributionEvent` modifications.** The changes to the `LetterContributionEvent` table are correctly implemented according to the PR's description. --- `10-10`: **Syntax and consistency check for `LetterLearningEvent` modifications.** This table's modifications are in line with the overall schema changes, ensuring uniformity across the database. --- `12-12`: **Syntax and consistency check for `LetterSoundContributionEvent` modifications.** The SQL modifications for the `LetterSoundContributionEvent` table are executed properly, maintaining the consistency required by the PR. --- `14-14`: **Syntax and consistency check for `LetterSoundPeerReviewEvent` modifications.** These changes are correctly formatted and consistent with the other table modifications within this migration script. --- `16-16`: **Syntax and consistency check for `NumberContributionEvent` modifications.** The SQL commands for the `NumberContributionEvent` table adhere to the required changes and are consistent with the rest of the script. --- `18-18`: **Syntax and consistency check for `NumberPeerReviewEvent` modifications.** The alterations to this table are consistent with those applied to other tables, ensuring a uniform approach across the database. --- `20-20`: **Syntax and consistency check for `SoundContributionEvent` modifications.** These SQL statements are correctly implemented, aligning with the changes made to similar tables. --- `22-22`: **Syntax and consistency check for `StoryBookContributionEvent` modifications.** The modifications to the `StoryBookContributionEvent` table are correctly formatted and consistent with the overarching goals of the PR. --- `24-24`: **Syntax and consistency check for `StoryBookLearningEvent` modifications.** These changes are correctly implemented and maintain consistency with the modifications in other tables. --- `28-28`: **Syntax and consistency check for `WordContributionEvent` modifications.** The changes to the `WordContributionEvent` table are implemented correctly, ensuring consistency with the database schema modifications. --- `30-30`: **Syntax and consistency check for `WordLearningEvent` modifications.** These SQL modifications are correctly implemented and consistent with the changes made to similar tables. --- `32-32`: **Syntax and consistency check for `WordPeerReviewEvent` modifications.** The alterations to this table are correctly formatted and consistent with the overall objectives of the PR.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 15.26%. Comparing base (
6e59a32
) to head (e073ffd
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
fixes & closes #1678
changes: updated the SQL script 2004014.sql to drop time stamp columns auto generated by hibernate.