-
Notifications
You must be signed in to change notification settings - Fork 364
Bigint Migration for 'events' Table (Step 1) #4281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
philippthun
merged 1 commit into
cloudfoundry:main
from
sap-contributions:bigint-migration-events-step1
May 5, 2025
Merged
Bigint Migration for 'events' Table (Step 1) #4281
philippthun
merged 1 commit into
cloudfoundry:main
from
sap-contributions:bigint-migration-events-step1
May 5, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a0ee2b7
to
d37b9fa
Compare
3 tasks
d37b9fa
to
f3d6fe9
Compare
f3d6fe9
to
51e2109
Compare
4aaae49
to
6d05889
Compare
6d05889
to
e6bb19a
Compare
e3b2c4e
to
2cca5b8
Compare
johha
previously approved these changes
May 5, 2025
2cca5b8
to
c446ca8
Compare
- reusable module VCAP::BigintMigration - implementation of step 1 (the events' primary key is not used as foreign key, thus additions will be required when reusing this for other tables) - check database type (PostgreSQL only) - check opt-out flag - check if table is empty - change primary key to bigint directly, if table is empty - add bigint column and create trigger + function otherwise - reusable shared_context for tests - ADR adapted (PostgreSQL only) - Rake task db:bigint_backfill to manually trigger a backfill (optional)
c446ca8
to
9eb51d4
Compare
johha
approved these changes
May 5, 2025
ari-wg-gitbot
added a commit
to cloudfoundry/capi-release
that referenced
this pull request
May 5, 2025
Changes in cloud_controller_ng: - Bigint Migration for 'events' Table (Step 1) PR: cloudfoundry/cloud_controller_ng#4281 Author: Philipp Thun <[email protected]>
sethboyles
pushed a commit
that referenced
this pull request
May 5, 2025
- reusable module VCAP::BigintMigration - implementation of step 1 (the events' primary key is not used as foreign key, thus additions will be required when reusing this for other tables) - check database type (PostgreSQL only) - check opt-out flag - check if table is empty - change primary key to bigint directly, if table is empty - add bigint column and create trigger + function otherwise - reusable shared_context for tests - ADR adapted (PostgreSQL only) - Rake task db:bigint_backfill to manually trigger a backfill (optional)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
VCAP::BigintMigration
db:bigint_backfill
to manually trigger a backfill (optional)Related PR: cloudfoundry/capi-release#533
I have reviewed the contributing guide
I have viewed, signed, and submitted the Contributor License Agreement
I have made this pull request to the
main
branchI have run all the unit tests using
bundle exec rake
I have run CF Acceptance Tests