Skip to content

fix: seed demo content from the current schema#796

Open
anonymoususer72041 wants to merge 3 commits into
opencats:masterfrom
anonymoususer72041:fix/demo-content-seeding
Open

fix: seed demo content from the current schema#796
anonymoususer72041 wants to merge 3 commits into
opencats:masterfrom
anonymoususer72041:fix/demo-content-seeding

Conversation

@anonymoususer72041
Copy link
Copy Markdown
Contributor

Fixes #572

This PR changes the demo installation flow so demo content is no longer restored from a full legacy database backup. Instead, demo installations now load the current base schema from db/cats_schema.sql first and then apply demo-only seed data from db/cats_demo_data.sql.

The new demo seed contains only data intended to be applied on top of the current schema. It does not include schema definitions, historical module_schema state or base lookup data that already belongs to db/cats_schema.sql. This avoids treating demo content as an old installation that has to pass through legacy upgrade behavior.

The installer path for demo data now follows the same current-schema starting point as a fresh installation and then adds the demo records on top. Existing non-demo installation and legacy upgrade paths are left unchanged.

The old db/cats_testdata.bak demo database snapshot has been removed because it is no longer used by the active demo installation flow.

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.

Demo content doesn't work

1 participant