We are currently using liquibase pretty successfully to track and maintain our database schema changes. However, we have some “static” data which we would like to track in liquibase and I was wondering if anyone had some suggestions on how to do this. I am not sure liquibase is the best way to do this, but I am hoping I can do it with liquibase.
So we have some “static” data, for example a user roles table which is fixed. Each user has a role_id and then that maps to the roles table. The roles table hasn’t changed yet but I am about to add some more roles to it. I would like to have a way of tracking this somewhere so that when we upgrade our customer’s systems, part of the upgrade process will add the new roles. I was thinking about just doing a liquibase change with a new SQL statement to add the new row, but I don’t want this information to be intermingled with our schema changes.
This isn’t the only static data we have in the database…there is other stuff as well which needs to be managed in the same manner.
Is liquibase the best way to do this?
Thanks