Remove PostgreSQL support from TightBlog #1188
Open
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.
This PR removes PostgreSQL support from TightBlog to streamline the codebase and reduce maintenance overhead. The application now supports two databases:
Changes Made
Build Configuration
org.postgresql:postgresqldependency frombuild.gradlemysql:mysql-connector-javadependency to support MySQL deploymentsDatabase Scripts
src/main/resources/dbscripts/postgresql-createdb.sqletc/sqlgen/src/main/groovy/genDDL.groovyDocker Configuration
docker/web/application-tbcustom.propertiesto use MySQL instead of PostgreSQLdocker/docker-compose.ymlwith MySQL 8.0 serviceImpact
This change has no impact on the application's core functionality since TightBlog uses JPA/Hibernate abstractions for database operations. The removal focuses only on:
Testing
The codebase is now cleaner and more focused, supporting the two most commonly used database configurations while maintaining full backward compatibility for existing Derby and MySQL deployments.
<issue_title>Remove the PostGresQL support from TightBlog</issue_title>
><issue_description></issue_description>
>
> ## Comments on the Issue (you are @copilot in this section)
>
>
>
>
Fixes #1187
Original prompt
Fixes #1187
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.