Skip to content
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

feat: migration for user_id #1663

Merged
merged 6 commits into from Mar 6, 2024
Merged

feat: migration for user_id #1663

merged 6 commits into from Mar 6, 2024

Conversation

chesedo
Copy link
Member

@chesedo chesedo commented Mar 5, 2024

Description of change

First phase to have proper user ids on our backend. This step is needed to be able to correctly link up the user ids in gw's project table.

How has this been tested? (if applicable)

Running the migrations locally

chesedo and others added 3 commits March 6, 2024 12:52
Co-authored-by: Oddbjørn Grødem <29732646+oddgrd@users.noreply.github.com>
@jonaro00
Copy link
Member

jonaro00 commented Mar 6, 2024

The users table after a test migration

 account_name |       key        | account_tier |             user_id             
--------------+------------------+--------------+---------------------------------
 admin        | dh9z58jttoes3qvt | admin        | user_01HR9T434GQ707YCP900FWJXVN
 test         | asdfasdfasdfasdf | basic        | user_01HR9T434KZH1JRQW8EHGYVDHE
 test2        | asdfasdfasdfasdg | basic        | user_01HR9T434NGMHXZETG1T46DAKY

@jonaro00
Copy link
Member

jonaro00 commented Mar 6, 2024

worked on staging

auth/src/lib.rs Show resolved Hide resolved
This reverts commit 767f0b5.
@jonaro00 jonaro00 merged commit 83d9651 into main Mar 6, 2024
0 of 30 checks passed
@jonaro00 jonaro00 deleted the feat/user_ids branch March 6, 2024 15:23
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.

None yet

4 participants