Skip to content

Use JSON fixtures instead of SQL migrations in development profile#790

Merged
dennisvang merged 3 commits into
feature/634-boostrapping-fdpfrom
proposal/634-dev-fixtures
Nov 10, 2025
Merged

Use JSON fixtures instead of SQL migrations in development profile#790
dennisvang merged 3 commits into
feature/634-boostrapping-fdpfrom
proposal/634-dev-fixtures

Conversation

@dennisvang

Copy link
Copy Markdown
Contributor

The development profile still uses SQL migrations instead of the JSON fixtures, for the relational db bootstrap.

This PR fixes that.

It looks like most of the content of the old dev migrations is already in the new fixtures, except for two additional users and some saved queries, and the dev settings.

However, best to use mostly the same fixtures for both, to prevent confusion.

most of these have been moved into the json fixtures, except for some users, saved queries, and dev settings
instead of the sql migrations from resources/dev/db/migration

@MarekSuchanek MarekSuchanek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, true that it is not needed anymore to insert data directly via SQL migrations even for dev 👍🏻

@dennisvang
dennisvang merged commit 1bc1828 into feature/634-boostrapping-fdp Nov 10, 2025
13 checks passed
@dennisvang
dennisvang deleted the proposal/634-dev-fixtures branch November 10, 2025 13:55
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.

2 participants