Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This document helps developers work with Grouper DDL.  If you work with Grouper DDL, please keep this document up to date.

Make sure to:

  • Use lower case for views
  • Test on case sensitive mysql container

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 try to auto-upgrade in 2.5 or print out a script to run if not auto-ddl.

...