Skip to content

VERY BREAKING: Rename data and operations schemas#353

Merged
MoralCode merged 29 commits into
mainfrom
rename/schema
Jun 9, 2026
Merged

VERY BREAKING: Rename data and operations schemas#353
MoralCode merged 29 commits into
mainfrom
rename/schema

Conversation

@MoralCode

@MoralCode MoralCode commented May 29, 2026

Copy link
Copy Markdown
Contributor

Description
This PR renames the two core schemas CollectOSS uses

augur_data -> data
augur_operations -> operations

This was discussed in #313

This change will be breaking for any downstream uses of the old CollectOSS schema names

The database migration included here is just an ALTER SCHEMA query and some small adjustments to existing schema comments - it is fully/losslessly reversible in case it is found to cause issues

This PR fixes #324

Notes for Reviewers
I have been testing this by running collection on my local instance, and i believe I have caught every use of the old schema names within the code and changed them.

Signed commits

  • Yes, I signed my commits.

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bandit found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

Comment thread tests/test_application/test_repo_load_controller/util.py Outdated
Comment thread tests/test_workers/test_set_up_fixtures.py
Comment thread tests/test_workers/test_set_up_fixtures.py
Comment thread tests/test_workers/test_set_up_fixtures.py
Comment thread tests/test_workers/test_set_up_fixtures.py
@MoralCode MoralCode added this to the v1.1 Migration Release milestone May 29, 2026
@MoralCode MoralCode added the database Related to the unifed data model/schema label May 29, 2026
Comment thread tests/test_application/test_repo_load_controller/util.py
@MoralCode

Copy link
Copy Markdown
Contributor Author

The tests are not fully operational for database stuff yet, so there are some undefined variable warnings i marked resolved

MoralCode added 24 commits June 6, 2026 17:51
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
…tion)

Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
MoralCode added 5 commits June 6, 2026 17:51
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
@MoralCode MoralCode merged commit b886f86 into main Jun 9, 2026
16 checks passed
@MoralCode MoralCode deleted the rename/schema branch June 9, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

database Related to the unifed data model/schema

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename database schema names (augur_data, etc)

2 participants