Skip to content

[db] Create d_b_personal_access_token #14724

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
merged 1 commit into from
Nov 15, 2022
Merged

Conversation

laushinka
Copy link
Contributor

@laushinka laushinka commented Nov 15, 2022

Description

Creates d_b_personal_access_token with the following schema

-- field type
primary key id varchar
idx user_id varchar
idx hash varchar
  name varchar
  description text
  scopes text
  expiration_time timestamp
  created_at timestamp
idx last_modified timestamp
  deleted boolean

Related Issue(s)

Part of #14602

How to test

  1. Connect to the preview environment DB[1]
  2. describe d_b_personal_access_token;

Release Notes

NONE

Documentation

Werft options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

@laushinka laushinka marked this pull request as ready for review November 15, 2022 22:25
@laushinka laushinka requested a review from a team November 15, 2022 22:25
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Nov 15, 2022
Copy link
Member

@easyCZ easyCZ left a comment

Choose a reason for hiding this comment

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

LGTM, in subsequent PR you should also add this to db-sync's tables.ts

@easyCZ easyCZ marked this pull request as draft November 15, 2022 22:29
@easyCZ easyCZ marked this pull request as ready for review November 15, 2022 22:29
@roboquat roboquat merged commit d304ba5 into main Nov 15, 2022
@roboquat roboquat deleted the lau/db-migration-tokens branch November 15, 2022 22:29
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/S team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants