Adding not null constraint to uuid column of all tables

A recent migration of openmrs-core is adding not null constraint to uuid column of all tables:

In Bahmni, we have null uuids in a few tables which are part of this migration. Not sure how they got in, but they are preventing us from starting openmrs-core.

Would it be possible to add an update script right before this is run to populate uuids in rows that don’t have one?

It’s been added in:

https://github.com/openmrs/openmrs-core/commit/08b121377358b47e742ce549608a42b3c75fcb9f

see JIRA issue:

Just noticed the changeset hasn’t been ported to master and other branches. Currently it’s in 1.12.x only. Reopened the issue.

1 Like