This document helps developers work with Grouper DDL. If you work with Grouper DDL, please keep this document up to date.
The first thing to know about is the grouper_ddl table. This has one entry for each ddl type. A ddl type means database objects with a certain prefix (e.g. the grouper one starts with grouper_, the default subject one starts with subject, and the organization management one starts with grouperorgs_). On startup, grouper will see if the version in the DB matches the version in the jar (an enum). If not, an error will be logged, and optionally grouper will not startup.
Lets do some use cases
1. Add a column to a grouper_ table
- Look in the class GrouperDdl. See which version the table is created where the column is.