Skip to content

Schema initialization - #8

Merged
eggy03 merged 5 commits into
mainfrom
Schema-Initialization
Aug 1, 2025
Merged

Schema initialization#8
eggy03 merged 5 commits into
mainfrom
Schema-Initialization

Conversation

@eggy03

@eggy03 eggy03 commented Aug 1, 2025

Copy link
Copy Markdown
Owner

No description provided.

eggy03 added 5 commits July 31, 2025 14:30
Replaces the TableNames utility with a new Schema class that centralizes all table and column name constants and provides schema initialization logic. Updates all references throughout the codebase to use Schema instead of TableNames, and removes redundant column name definitions from data access classes. This change improves maintainability and ensures consistent usage of database schema identifiers.
Replaces raw SQL string execution with jOOQ's fluent API for schema and table creation in Schema.java, improving type safety and readability. Also sets the database connection time zone to UTC in DatabaseConnector.
Updated the project version in pom.xml and ProjectInfo.java from 1.2.0 to 1.2.1 to reflect the latest release.
Introduces a setupCronDeletion method to schedule daily deletion of log entries older than 30 days using the pg_cron extension.
@eggy03 eggy03 self-assigned this Aug 1, 2025
@eggy03 eggy03 added the enhancement New feature or request label Aug 1, 2025
@sonarqubecloud

sonarqubecloud Bot commented Aug 1, 2025

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
3.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@eggy03
eggy03 merged commit cfe7759 into main Aug 1, 2025
5 of 6 checks passed
@eggy03
eggy03 deleted the Schema-Initialization branch August 1, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant