Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

rbac: order columns for migration - #48001

Merged
courier-new merged 1 commit into
mainfrom
kr/migration-column-order
Feb 22, 2023
Merged

rbac: order columns for migration#48001
courier-new merged 1 commit into
mainfrom
kr/migration-column-order

Conversation

@courier-new

Copy link
Copy Markdown
Contributor

Adds an explicit order to the columns for the roles insert statement to improve robustness when running migrations up and down.

Test plan

Ran migrations down to well before 1671543381_add_default_roles then back up successfully.

@courier-new courier-new self-assigned this Feb 21, 2023
@cla-bot cla-bot Bot added the cla-signed label Feb 21, 2023
@courier-new
courier-new force-pushed the kr/migration-column-order branch from 5b1ad9f to 1828301 Compare February 21, 2023 22:47
@courier-new
courier-new merged commit 69c7f65 into main Feb 22, 2023
@courier-new
courier-new deleted the kr/migration-column-order branch February 22, 2023 00:26
github-actions Bot pushed a commit that referenced this pull request Feb 22, 2023
Adds an explicit order to the columns for the roles insert statement to improve robustness when running migrations up and down.

(cherry picked from commit 69c7f65)
@BolajiOlajide

Copy link
Copy Markdown
Contributor

Thank you!

coury-clark pushed a commit that referenced this pull request Feb 22, 2023
Backport 69c7f65 from #48001.

Co-authored-by: Kelli Rockwell <kelli@sourcegraph.com>
github-actions Bot referenced this pull request Feb 22, 2023
Forgot to run `sg generate` for
https://github.com/sourcegraph/sourcegraph/pull/48001. 🙈

(cherry picked from commit 3191fdb)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants