Skip to content

Add empty database dump for RefApp 3.6.0 / Core 2.8.4#111

Merged
dkayiwa merged 1 commit intoopenmrs-emr3from
add-empty-db-3.6.0
Feb 28, 2026
Merged

Add empty database dump for RefApp 3.6.0 / Core 2.8.4#111
dkayiwa merged 1 commit intoopenmrs-emr3from
add-empty-db-3.6.0

Conversation

@dkayiwa
Copy link
Member

@dkayiwa dkayiwa commented Feb 28, 2026

Summary

Adds a pre-generated empty SQL dump (src/main/db/empty-db-3.6.0.sql) for the released RefApp 3.6.0 distribution running on OpenMRS Core 2.8.4.

How it was generated

  1. Built the distro with -Dopenmrs.version=2.8.4 -Drefapp.version=3.6.0
  2. Removed the referencedemodata module and referenceapplication-demo content from the distro
  3. Started a fresh Docker instance (MariaDB 10.11.7 + OpenMRS Core 2.8.4) with clean volumes
  4. Waited for full initialization (tables created, modules loaded, configs applied)
  5. Dumped with mysqldump --single-transaction -u root openmrs

Database contents

  • 230 tables fully initialized (schemas only)
  • 0 patients (no demo data)
  • 2 users (system accounts only)
  • All module schemas and configurations applied

This enables the standalone to start with a clean, pre-initialized database without demo data.

Generated from a fresh OpenMRS Docker instance using:
- OpenMRS Core 2.8.4
- Reference Application 3.6.0 (without demo data module)
- MariaDB 10.11.7

The dump includes 230 tables with schemas fully initialized but no
demo patients (0 patients, 2 system users only). This enables the
standalone to start with a clean database, bypassing the slow
initialization process.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dkayiwa dkayiwa merged commit baf4993 into openmrs-emr3 Feb 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant