Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit92911f5

Browse files
committed
chore: whitespace fix
1 parent237ee70 commit92911f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎coderd/database/migrations/000371_api_key_scopes_array_allow_list.up.sql‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,11 @@ ALTER TYPE api_key_scope ADD VALUE IF NOT EXISTS 'workspace_proxy:update';
144144
-- Purge old API keys to speed up the migration for large deployments.
145145
-- Note: that problem should be solved in coderd once PR 20863 is released:
146146
-- https://github.com/coder/coder/blob/main/coderd/database/dbpurge/dbpurge.go#L85
147-
148147
DELETEFROM api_keysWHERE expires_at< NOW()- INTERVAL'7 days';
149148

149+
--
150150
-- Add new columns without defaults; backfill; then enforce NOT NULL
151+
--
151152
ALTERTABLE api_keys
152153
ADD COLUMN scopes api_key_scope[],
153154
ADD COLUMN allow_listtext[];

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp