Skip to content

Set up Liquibase database migrations#60

Merged
ebouchut merged 6 commits into
devfrom
feat-setup_liquibase_database_migrations
Jun 15, 2026
Merged

Set up Liquibase database migrations#60
ebouchut merged 6 commits into
devfrom
feat-setup_liquibase_database_migrations

Conversation

@ebouchut

Copy link
Copy Markdown
Owner
  • Set up Liquibase to version database migrations (DDL)
  • Create core database schema (users, roles, tokens, audit) with indexes for foreign keys
  • Document migration file locations and naming convention
  • Add a CI drift check and a Makefile target to ensure the MCD sourcem model and DB schema are in sync.

ebouchut added 6 commits June 10, 2026 21:01
- chore(config): Set up Liquibase
- docs: Add Liquibase migration guidelines and naming rules
- Create core users roles, tokens, and audit tables,
- Add indexes for FKs to speed joins,
- reset, audit, roles, mapping
- Indexes guard fast lookups

Closes #32
Fix application config files:
add missing indentation of `spring.liquibase section`
Make Liquibase include path relative to the master changelog file
(was previously relative to the project root).
Ensure the MCD source and the database schema are in sync.
The check fails if a table column in the Liquibase migrations files
is missing from the MCD source file.
@ebouchut ebouchut self-assigned this Jun 15, 2026
@ebouchut ebouchut added documentation Improvements or additions to documentation feature database dependencies config labels Jun 15, 2026
@ebouchut ebouchut moved this to In Progress in learn-dev-project Jun 15, 2026
@ebouchut ebouchut added this to the v0.7 - Doc Freeze milestone Jun 15, 2026
@ebouchut ebouchut linked an issue Jun 15, 2026 that may be closed by this pull request
5 tasks
@ebouchut ebouchut merged commit 1065476 into dev Jun 15, 2026
1 of 2 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in learn-dev-project Jun 15, 2026
@ebouchut ebouchut deleted the feat-setup_liquibase_database_migrations branch June 15, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config database dependencies documentation Improvements or additions to documentation feature

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Set up Liquibase to handle database changes

1 participant